von Jannis | Jan 3, 2022 | Allgemein
If you plan to write solid unit tests in Salesforce, you won’t get around mocking sobjects. A solid testing strategy needs a powerful library to mock sobject records. This allows you to write loosely coupled tests without the need to insert records into the...
von Jannis | Dez 29, 2021 | Allgemein
There seems to be a soft limit for E2E tests in Salesforce. Once you hit it, your tests will start to fail with the dreaded „unable to lock row“ exception. This is one of the nastiest errors you can encounter, especially in tests. It’s hard to debug...
von Jannis | Dez 16, 2021 | Allgemein
There is one thing I love most about SFDX: The possibility to automatically rollback, if your continuous integration (CI) pipeline fails. This greatly decreases the probability for your developers to break your build pipeline. As a result, they are less likely having...
von Jannis | Dez 11, 2021 | Allgemein
I recently came across a stone-old question: How many apex triggers per object are a best practice? Is the „single apex trigger per object“ dogma still en vogue after the introduction of SFDX? Why Are Multiple Apex Triggers Per Object Considered Bad? A...
von Jannis | Nov 6, 2021 | Allgemein, Code Quality
So we recently started to use SCRUM, and I can’t tell if I love it or hate it. During our first sprints, I noticed something I did not expect: My team and I suddenly felt pressured to deliver low-quality software. That was particularly weird because SCRUM was...