Skip to Content
Overview

LATdx CLI User Docs

Audience: developers running Apex tests through the LATdx CLI workflow.

The CLI is distributed as release binaries (not npm install -g) for darwin-x64, darwin-arm64, linux-x64, linux-arm64, and win-x64.

Start Here

Two Adaptation Modes

LATdx supports two ways to run Apex tests faster:

  • Rapid execution (latdx test run): in-memory transformation + anonymous Apex. No deployment, no managed-package install required for file-mode runs. Best for the inner-loop edit/run/inspect cycle.
  • Test acceleration (latdx boost → deploy → sf apex test run): transforms the codebase for the standard Salesforce test runner. Best for CI and orgs that must execute through the platform-native runner.

Both modes share the same simulation engine; the Adaptation Lifecycle page covers when to pick which.

Scope Note

This track is CLI-first. Editor / extension UX details are documented separately; see the integration page for pointers.