Skip to content
G

generating-apex-test

Generate and validate Apex test classes

by forcedotcomFree

#7003in AI Skills
0In stores

Description

Generating Apex Tests is an agent skill for writing production-ready Apex test classes and running disciplined test-fix loops with coverage…

Highlights

  • One behavior per test method, with negative and bulk tests
  • Bulk tests at 251 or more records
  • TestDataFactory-based setup, no hardcoded IDs
  • Assert class and HttpCalloutMock mocking patterns

Ratings & Reviews

No ratings yet

Be the first to rate generating-apex-test.

People also visit

P

platform-apex-test-generate

Generate and validate Apex test classes

AI Skills
Get
R

running-apex-tests

Apex test execution, coverage analysis, and test-fix loops

AI Skills
Get
P

platform-apex-test-run

Apex test execution, coverage analysis, and test-fix loops

AI Skills
Get
S

sf-testing

Apex test execution, coverage analysis, and test-fix loops

AI Skills
Get
G

generating-apex

Primary Apex authoring skill for class generation, refactoring, and review

AI Skills
Get
D

dx-apexguru-scan

Run an ApexGuru performance scan on a Salesforce Apex project

AI Skills
Get

generating-apex-test FAQ

What does the skill produce?

Apex test classes and a test-fix loop with coverage analysis, following the skill's rules on bulk data, mocking and assertions.

Why 251 records?

The skill says to test with 251 or more records to cross the 200-record trigger batch boundary.

How do I install it?

Run npx skills add https://github.com/forcedotcom/sf-skills --skill generating-apex-test in your project.

Is it free and open source?

Yes. It is published in the public forcedotcom/sf-skills repository on GitHub.

What do the security audits say?

skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass for this skill.

What are the best generating-apex-test alternatives?

Popular alternatives to generating-apex-test include platform-apex-test-generate, running-apex-tests and platform-apex-test-run. See all generating-apex-test alternatives

Developer Stuff

Badges