Run Apex tests, diagnose failures, and close coverage gaps.
Apex testing
Runs Apex tests, analyzes failures and coverage, and manages test-fix loops for Salesforce code.
When to use it
Use for Apex test execution, failures, coverage analysis, and structured test-fix loops.
Give it a target org and test scope; it runs and analyzes Apex tests, then returns a structured results report.
What you provide
This skill
Salesforce org
Tests in your Salesforce org
Reads test results from Salesforce
TOOL_INPUT
Reads the executed test command
TOOL_OUTPUT
Reads test output from environment
Requires jq version 1.6.0 or later.
Requires Python 3.10.0 or later.
Requires sf CLI version 2.0.0 or later.
Requires a target Salesforce org containing test classes, or test classes in the local project.