
platform-apex-test-run
Apex test execution, coverage analysis, and test-fix loops
by forcedotcomFree
Description
platform-apex-test-run is an agent skill from the Salesforce sf-skills collection, listed on skills.sh. It covers running Apex tests for Salesforce code, checking code coverage, interpreting failures and managing a disciplined test-fix loop. The skill uses the sf apex run test workflow and helps the agent find the uncovered lines and the missing test scenarios behind them. Its test-fix loops use a 120-point scoring scale. The skill also names the work it does not own: writing or refactoring production Apex belongs to a separate generation skill, testing Agentforce agents to another, and Jest tests for Lightning Web Components to a third. Use it when a user runs Apex tests, checks coverage or needs failing tests fixed. It is a SKILL.md file of instructions that an agent loads when a task calls for it, and it is free to install.…
Highlights
- Runs Apex tests with sf apex run test
- Coverage analysis and uncovered lines
- Test-fix loops with failure analysis
- 120-point scoring
- Points to related skills for other tasks
Ratings & Reviews
No ratings yet
Be the first to rate platform-apex-test-run.
People also visit
platform-apex-test-run FAQ
What does platform-apex-test-run do?
It helps an agent run Apex tests, analyse failures and coverage, and fix failing tests in a disciplined loop.
How do I install it?
Run: npx skills add https://github.com/forcedotcom/sf-skills --skill platform-apex-test-run
Does it write new test classes?
Its focus is running tests and coverage. Writing test classes is covered by a separate generation skill in the same collection.
What is the 120-point scoring?
The skill uses a 120-point scale in its test-fix loops, according to its listing.
Which tasks does it not cover?
Writing or refactoring production Apex, testing Agentforce agents, and Jest tests for Lightning Web Components, which the skill sends to other skills.
Has it been checked for security?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best platform-apex-test-run alternatives?
Popular alternatives to platform-apex-test-run include running-apex-tests, sf-testing and platform-apex-test-generate. See all platform-apex-test-run alternatives







