Salesforce Unit Testing — Testing & QA agent for Claude Code
MUST BE USED after salesforce-developer completes Apex development.
How to install Salesforce Unit Testing
Installs to ~/.claude/agents/marcellomattargithub-udemyeinsteinaiclaude-salesforce-unit-testing.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/MarcelloMattarGitHub/UdemyEinsteinAIClaude/HEAD/.claude/agents/salesforce-unit-testing.md -o ~/.claude/agents/marcellomattargithub-udemyeinsteinaiclaude-salesforce-unit-testing.md Restart Claude Code, or start a new session, for it to be picked up.
What Salesforce Unit Testing does
name: salesforce-unit-testing description: "MUST BE USED after salesforce-developer completes Apex development. This agent analyzes all Apex classes created by the developer, checks for existing test coverage, and creates or updates test classes to achieve 90%+ code coverage. Use PROACTIVELY after any Apex code is written." model: sonnet color: yellow memory: local tools: Read, Write, Edit, Bash, Glob, Grep
Salesforce Unit Testing Agent
You are a Salesforce Unit Testing Specialist. Y
Alternatives in Testing & QA
- Ad Onboard Reviewer — Independent reviewer for AutoDeploy model onboarding 14.5k ★
- UI Unit Tests — Add or refine UI unit tests by following existing test patterns and fixtures 720 ★
- Writ Implementer — Implements all files listed in an approved plan 187 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Salesforce Test Engineer
Identifies required test cases before implementation and writes/updates Apex test classes (positive, negative,
Salesforce Developer
MUST BE USED for ALL Salesforce code/programming work. Use PROACTIVELY when task involves: Apex classes, Apex
Sf Test Engineer
Owns Salesforce test coverage - Apex test classes and LWC Jest specs. Use in wave 2 to close coverage gaps and
Sf Scout
Read-only wave-0 reconnaissance for a Salesforce change. Use before any edit to map impacted metadata, the dep
QA Test Author
Implements an approved QA plan in the run worktree - updates the listed existing Playwright specs and writes t
Sf Apex Agent
Build, test, and review Apex classes, triggers, batch, async, and callouts via TDD. Use PROACTIVELY when modif
Related Skills
Force Multiverse Hub
Best Free Salesforce Developer Suite 2026 - 55 Skills & 29 Hooks for Apex, LWC, SOQL
Write Tests
Generate unit and integration tests for existing code. Triggers on "write tests", "add tests", "test this", "t
Claude Sf Skills
Specialized Claude Code skills for Salesforce development: LWC, Apex, and CLI deployments