Release Notes: Org-Aware Test Generation, Faster AI, and CI Enhancements for Apex Teams

Release: Faster AI Apex test generation, org-aware data factories, SFDX & GitHub Actions integrations, test template versioning, and audit logs for governance.

## What’s new in this release

We shipped a focused set of product updates designed to help Salesforce engineering teams get higher-quality Apex test coverage with less friction. This release prioritizes accuracy, speed, and integration so generated test classes are both reliable and CI-ready.

### Key updates

- Org-aware data factories: The generator now inspects org schema and metadata to create realistic, relationship-aware test data. Expect fewer manual data fixtures and less flakiness caused by mismatched fields or required relationships.

- Performance improvements: AI test generation is up to 3x faster for large classes and batch processes. Generation time is reduced through optimized model calls and smarter template reuse.

- CI/CD integrations: First-class support for SFDX and GitHub Actions, including example workflows and a CLI flag to emit artifacts formatted for parallel test runs and coverage aggregation.

- Test template versioning: Teams can lock test templates per project or branch, ensuring consistent test style and mocking strategies across environments.

- Improved mocking and platform fakes: Better stubbing of asynchronous jobs, Platform Events, and queueable processing to make tests deterministic without heavy integration setup.

- Governance and audit logging: Admins can review generation history, who requested a test, and the template used — useful for compliance and debugging.

## Practical adoption tips

### Start with org-aware factories

Enable the org-aware data factories in your team settings and run a small batch of generation on a representative package or directory. Review the produced data factories, adjust any custom field mappings, then lock those mappings via template versioning so subsequent runs remain stable.

### Update CI to use the new artifacts

If you use GitHub Actions or an SFDX-based pipeline, add the provided action or CLI invocation that exports tests and coverage manifests. Use the parallelization artifact to run generated tests across multiple executors, lowering overall build time.

### Migrate gradually

- Phase 1: Generate tests for utility and controller classes where data models are simple.

- Phase 2: Target service layers and queueable jobs using the improved mocking features.

- Phase 3: Enable full org scans for more complex packages once you have validated mappings.

## Why this matters

These updates reduce the manual work required to keep Apex tests fast and reliable. Org-aware test data lowers flakiness, faster generation makes automated workflows viable for larger repos, and CI integrations help teams enforce quality gates without slowing deployment cadence.

## Next steps

Review the migration checklist in the docs, update your CLI to the latest version, and run a sample generation against a feature branch. If you want hands-on help, schedule a walkthrough with our solutions engineers to tailor templates and CI workflows to your org.

Conclusion

This release is about making AI-generated tests usable at scale: faster, more accurate, and easier to integrate into existing pipelines. Upgrade today, try the org-aware factories, and let us know how it fits your flows.