generating-apex-test

Generate Apex test classes with TestDataFactory patterns and 251+ bulk records.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill generating-apex-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generating-apex-test
Source: https://github.com/cchrisv/professorFlowVisualPicker/tree/main/.agents/skills/generating-apex-test
Command: npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill generating-apex-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates the creation and validation of Apex test classes, enforcing TestDataFactory patterns, bulk testing (251+ records), and disciplined test-fix loops to improve test coverage and reliability.

Core Features & Use Cases

  • Generate production-ready Apex test classes following standard templates and best practices.
  • Enforce TestDataFactory patterns, including bulk data setup and test data isolation.
  • Support for 251+ record bulk testing, mock patterns, and assertion strategies across triggers, services, controllers, batch jobs, and queueables.

Quick Start

Generate a production-ready Apex test class for your target class using TestDataFactory patterns and 251+ bulk records.

Frequently Asked Questions about generating-apex-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Apex test classes for Salesforce triggers and batch jobs?

Generate production-ready Apex test classes by applying TestDataFactory patterns and bulk testing with 251+ records. This approach creates test scaffolding files for triggers, batch jobs, queueables, and controllers while enforcing robust assertions and test data isolation.

What is the best way to automate bulk testing for Salesforce Apex unit tests?

Automate bulk Apex testing by enforcing 251+ record test scenarios within a disciplined test-fix loop. This method validates bulk data operations and delivers test coverage analysis to ensure your Salesforce Apex unit tests are reliable and production-ready.

Does Apex test generation work with TestDataFactory patterns and mock integrations?

Apex test generation fully supports TestDataFactory patterns, including bulk data setup and test data isolation. It handles mock patterns and assertion strategies across integrations, controllers, and services to validate complex Salesforce functionality.

Why does my Salesforce Apex test coverage fail on bulk data scenarios?

Apex test coverage often fails on bulk data scenarios when tests lack 251+ record validation. Disciplined test-fix loops with TestDataFactory patterns enforce proper bulk testing and test data isolation to improve test coverage and reliability.

Can I create test scaffolding files for Apex services and queueables without manual setup?

You can generate test scaffolding files including TestClass and TestDataFactory components without manual setup. This delivers proper validation for Apex services, queueables, and controllers while enforcing standard templates and best practices.

When should I use disciplined test-fix loops for Salesforce Apex unit tests?

Use disciplined test-fix loops for Salesforce Apex unit tests when you need to automate and validate test classes with coverage analysis. This ensures production-ready tests following TestDataFactory patterns and 251+ record bulk testing requirements.