Platform Apex Test Generate

Generate and validate Apex test classes with TestDataFactory patterns, bulk testing (251+ records), mocking strategies, assertion best practices, and disciplined test-fix loops. Use this skill when creating new Apex test classes, improving test coverage, debugging and fixing failing Apex tests, running test execution and coverage analysis, or implementing testing patterns for triggers, services, controllers, batch jobs, queueables, and integrations. Triggers on *Test.cls, *_Test.cls files, sf apex run test workflows, coverage reports, test-fix loops. Do NOT trigger for production Apex code (use platform-apex-generate) or Jest/LWC tests.

forcedotcom 13ea9a3 7 files · 34.8 KB Updated

File contents

forcedotcom/sf-skills commit 13ea9a3a44

Frequently asked questions

npx skillmds@latest add forcedotcom/platform-apex-test-generate