
Description
Runs Apex tests for Salesforce and works through the results. It covers test execution, code coverage analysis, interpreting failures, improving coverage and running a disciplined test-fix loop for Apex code. The skill shows an agent how to run tests with the sf apex run test workflow, read which lines are uncovered, and find the test scenarios that are missing. The test-fix loop is kept deliberate and repeatable, so each change is judged by a fresh test run rather than assumed to work. Writing or refactoring production Apex belongs to sf-apex. Testing Agentforce agents is handled by sf-ai-agentforce-testing, and Jest tests for Lightning Web Components are handled by sf-lwc. Use it when Apex tests fail, when coverage is low on a class, or when you want to see which scenarios a test class is missing. It is part of the sf-skills set of Salesforce development skills from the jaganpro repository.…
Highlights
- Runs Apex tests with the sf apex run test workflow
- Coverage analysis with uncovered lines listed
- Structured test-fix loop for failing tests
- Finds missing test scenarios
Ratings & Reviews
No ratings yet
Be the first to rate sf-testing.
People also visit

dx-code-analyzer-run
Run Salesforce Code Analyzer to scan code for security, performance
sf-testing FAQ
What does this skill do?
It runs Apex tests, analyzes coverage, explains failures and guides a test-fix loop for Salesforce Apex code.
Where does other testing go?
Production Apex changes go to sf-apex, Agentforce agent tests to sf-ai-agentforce-testing and Jest tests for LWC to sf-lwc.
How do I install it?
Run: npx skills add https://github.com/jaganpro/sf-skills --skill sf-testing
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best sf-testing alternatives?
Popular alternatives to sf-testing include running-apex-tests, platform-apex-test-run and platform-apex-test-generate. See all sf-testing alternatives











