
Running Apex Tests
This handles the full Apex testing cycle: running tests, parsing failures, analyzing coverage gaps, and looping through fixes until you hit the target. It defaults to narrow scope first so you're not waiting on full test runs while debugging, then widens to regression once stable. The 120-point scoring system and structured output format (what ran, what failed, root cause, next step) keep the feedback loop tight. Useful when you're stuck on a failing test class, pushing coverage over 75%, or need bulk and callout mock patterns without hunting through old projects. Delegates production code fixes to the generating-apex skill and stays out of Jest or Agentforce territory.
- skills.sh installs
- 531
- GitHub stars
- 705
- last updated
- Jul 14, 2026
Install
$ npx -y skills add forcedotcom/afv-library --skill running-apex-tests --agent claude-codeInstalls into .claude/skills of the current project.
Files
This handles the full Apex testing cycle: running tests, parsing failures, analyzing coverage gaps, and looping through fixes until you hit the target. It defaults to narrow scope first so you're not waiting on full test runs while debugging, then widens to regression once stable. The 120-point scoring system and structured output format (what ran, what failed, root cause, next step) keep the feedback loop tight. Useful when you're stuck on a failing test class, pushing coverage over 75%, or need bulk and callout mock patterns without hunting through old projects. Delegates production code fixes to the generating-apex skill and stays out of Jest or Agentforce territory.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/afv-library
- First seen
- Jun 3, 2026
More from forcedotcom/afv-library
All 58- Configuring Connected Apps526
- Building Sf Integrations523
- Retrieving Datacloud523
- Activating Datacloud522
- Harmonizing Datacloud520
- Connecting Datacloud519
- Orchestrating Datacloud519
- Preparing Datacloud519
- Segmenting Datacloud518
- Building Omnistudio Flexcard511
- Analyzing Omnistudio Dependencies510
- Building Omnistudio Callable Apex509
- Building Omnistudio Integration Procedure509
- Deploying Omnistudio Datapacks509
- Modeling Omnistudio Epc Catalog509
- Building Omnistudio Omniscript508
- Building Omnistudio Datamapper507
- Trigger Refactor Pipeline470
- Generating Apex1.6K
- Generating Apex Test1.6K
- Generating Custom Field1.6K
- Generating Custom Object1.6K
- Generating Flow1.6K
- Generating Permission Set1.6K