running-apex-tests
running apex tests
What it does
- sf apex run test workflows
- Apex unit-test failures
- code coverage analysis
- identifying uncovered lines and missing test scenarios
- structured test-fix loops for Apex code
- writing or refactoring production Apex → generating-apex skill
- testing Agentforce agents → testing-agentforce skill
Requirements & configuration
- | Need | Delegate to | Reason |
Configuration: IDML
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
running-apex-tests FAQ
What does the running-apex-tests skill do?
Apex test execution, coverage analysis, and test-fix loops with 120-point scoring. Use when the user needs to run Apex tests, check code coverage, fix failing tests, or work with *Test.cls / *_Test.cls files. TRIGGER when: user runs Apex tests, checks code coverage, fixes failing tests, or touches *Test.cls / *_Test.cls files. DO NOT TRIGGER when: writing Apex production code (use generating-apex), Agentforce agent testing (use testing-agentforce), or Jest/LWC tests (use generating-lwc-components). sf apex run test workflows Apex unit-test failures
What does running-apex-tests require?
| Need | Delegate to | Reason | Configuration keys: IDML.
How do I install running-apex-tests?
Run: npx -y skills add https://github.com/forcedotcom/sf-skills --skill running-apex-tests --agent claude-code — the source lives at github.com/forcedotcom/sf-skills.
Maintain running-apex-tests?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[running-apex-tests on getagentictools](https://getagentictools.com/skills/forcedotcom-sf-skills-running-apex-tests?ref=badge) npx agentictools info skills/forcedotcom-sf-skills-running-apex-tests The second line is the CLI lookup for this page — handy in READMEs and docs.