mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 03:09:50 +08:00
943 B
943 B
Credits & Acknowledgments
This skill integrates concepts and patterns from Salesforce documentation and the broader Salesforce developer community. The goal is to move beyond minimum coverage targets toward true unit testing with proper isolation, mocking, and disciplined test-fix workflows.
Key Patterns Integrated
| Pattern | Integration |
|---|---|
| DML Mocking | assets/dml-mock.cls |
| Mocking vs Stubbing | references/mocking-patterns.md |
| Test Data Factory | assets/test-data-factory.cls |
| HttpCalloutMock | assets/mock-callout-test.cls |
| StubProvider | assets/stub-provider-example.cls |
| Performant Tests | references/performance-optimization.md |
Philosophy
This skill teaches Apex developers how to write fast, reliable, maintainable tests using vanilla Apex patterns — no external packages or libraries required. All patterns work in any Salesforce org out of the box.