Skip to content

nebulity/latdx-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LATdx CLI

Speed up your Salesforce Apex tests.

LATdx delivers near real-time feedback so you can stay in your flow and ship confidently, without waiting on slow test cycles.

Install

macOS and Linux:

curl -fsSL https://latdx.com/install.sh | bash

wget works the same way:

wget -qO- https://latdx.com/install.sh | bash

Windows (PowerShell):

irm https://latdx.com/install.ps1 | iex

Install a specific version:

curl -fsSL https://latdx.com/install.sh | bash -s 0.35.0

Custom install directory:

LATDX_INSTALL_DIR=/usr/local/bin curl -fsSL https://latdx.com/install.sh | bash

Requirements

  • Java 11+ on your PATH. Phase 4 reach-analysis runs on a bundled JVM engine; the download ships the JARs but not a JRE.

Platforms

Each release ships a per-platform bundle containing the latdx binary plus a sibling jars/ directory. The CLI auto-discovers the JARs via <execDir>/jars/, so keep the binary and jars/ together.

Platform Asset
macOS Apple Silicon latdx-darwin-arm64.tar.gz
macOS Intel latdx-darwin-x64.tar.gz
Linux x64 latdx-linux-x64.tar.gz
Linux ARM64 latdx-linux-arm64.tar.gz
Windows x64 latdx-win-x64.zip

Manual download

Download the bundle for your platform from the Releases page and extract it into a directory on your PATH, keeping latdx and its sibling jars/ directory together:

INSTALL_DIR="$HOME/.local/bin"
mkdir -p "$INSTALL_DIR"
tar -xzf ./latdx-darwin-arm64.tar.gz -C "$INSTALL_DIR"   # extracts latdx + jars/
latdx --help

On Windows:

$InstallDir = "$env:USERPROFILE\bin"
New-Item -ItemType Directory -Force -Path $InstallDir | Out-Null
Expand-Archive -Force .\latdx-win-x64.zip -DestinationPath $InstallDir
latdx --help

Verify downloads

Each release includes SHA256SUMS and a SHA256SUMS.minisig signature. To verify:

# SHA256 checksum
shasum -a 256 -c SHA256SUMS

# Minisign signature (if minisign is installed)
minisign -Vm SHA256SUMS -p minisign.pub

Releases are signed with the LATdx minisign public key:

RWRg/erd72b5rVMgbjzeb+02CkOVWtkN+kCduGAEUKES/2QkXYgaPZ0Q

Quick start

# Run tests for a specific class
latdx test run -n MyApexTest -o my-org

# Run tests from local files
latdx test run --file src/classes/MyApexTest.cls -o my-org

# See all options
latdx --help

Documentation

Visit latdx.com for full documentation.

Issues

Found a bug or have a feature request? Open an issue.

License

LATdx is proprietary software. See LICENSE for details.

About

LATdx CLI - Accelerate Salesforce Apex testing

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages