Mocking Apex Tests: Salesforce Tutorial

Credits : Groundswell

In this Video Leonardo Berardino talks about the following:

  • Mocking Apex Tests and Apex Mock Examples
  • Unit Tests x Integration Tests
  • How to create unit tests for your application
  • Preparing your classes for unit testing
  • Using Mocker Framework to mock your dependencies
  • Mocking exceptions
  • Adding expected methods behavior
  • Asserting captured arguments

Learn More: https://gscloudsolutions.com/tips-tricks/gs-apex-mocking-framework/

Open source framework: https://github.com/gscloudsolutions/GS-Apex-Mocking-Framework

Responses

Popular Salesforce Videos