Skip to content
P

platform-apex-test-generate

Generate and validate Apex test classes

by forcedotcomFree

#5928in AI Skills
0In stores

Description

platform-apex-test-generate is an agent skill from the Salesforce sf-skills collection, listed on skills.sh. It guides an AI agent in genera…

Highlights

  • Generates Apex test classes with TestDataFactory
  • Bulk tests with 251 or more records
  • Assert class and meaningful, exact assertions
  • Mocking for callouts and SOSL searches
  • Coverage analysis and test-fix loops

Ratings & Reviews

No ratings yet

Be the first to rate platform-apex-test-generate.

People also visit

G

generating-apex-test

Generate and validate Apex test classes

AI Skills
Get
P

platform-apex-test-run

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

AI Skills
Get
R

running-apex-tests

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
P

platform-apex-generate

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

AI Skills
Get
S

sf-apex

Generates and reviews Salesforce Apex code with 150-point scoring

AI Skills
Get

platform-apex-test-generate FAQ

What does the platform-apex-test-generate skill do?

It helps an AI agent write Apex test classes, check them, and fix failing tests while analysing coverage.

How do I install it?

Run: npx skills add https://github.com/forcedotcom/sf-skills --skill platform-apex-test-generate

Does it cover bulk testing?

Yes. It asks for bulk tests with 251 or more records, and explains the batch size rule for Batch Apex tests.

Which assertion style does it use?

The Assert class only, such as Assert.areEqual and Assert.isTrue, and not the legacy System.assert methods.

Is it free?

Yes. The listing shows it as free.

Has it been checked for security?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best platform-apex-test-generate alternatives?

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

Developer Stuff

Badges