Test Data Creation for Apex E2E Testing

If your Salesforce org is anything like ours, its complex. To prevent regression, complex and meaningful tests are required. In our situation, E2E tests depend on a lot of configuration records, before they can perform their operations. Today I focus on how to...

A Progressive Apex Trigger Framework

If you work on a larger Salesforce Org, you probably need a trigger framework to implement the single trigger per SObject best practice. This is especially challenging when you work on multiple, well-separated second-generation packages (2GP). Requirements for a...

5 Signs You Suck At Testing Apex

This is a rant full of sarcasm. Reader discretion advised. However, if you believe that „customers won’t pay for quality“ and that „testing your apex code slows you down“ this text is for you. You are part of the problem. In the last...