Advanced Apex Unit Testing Techniques

2:15 PM - 3:45 PM

Salon III


When you have complex applications with custom logic, ensuring that the codebase has sufficient test coverage can be tricky. Come learn some of the advanced techniques that will help you organize your test code coverage and make it far easier to maintain.

The learning objectives include:

  • learn to identify ways to refactor your code to be provide opportunities for modularize your code
  • learn how the technique of 'mocking' certain elements can save you time and headaches and help you bring clarity to your unit test.
  • learn how centralizing common elements into test data factories can improve reuse of code
  • learn on various open source mocking frameworks available in the community

Photo of John M. Daniel

John M. Daniel

Senior Director of Digital Platforms