mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-05 23:41:31 +08:00
* Migrating Core Salesforce Skills * Updating pr comments * updat reference * Updating a skill * Migrating Datacloud skills * Migrating Industries cloud skills * Validating - skills fixing --------- Co-authored-by: Sandip Kumar Yadav <sandipkumar.yadav+sfemu@salesforce.com>
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.