Frameworks for testing Apex Code

9 marzo, 2017 Salesforce

I would like to share a couple of framworks that are very useful for testing Apex Code.

The first one is Apex Mock and it will become essential for you when it comes to create test data for your Apex Test classes.

The second framework is FinancialForce ApexMocks Framework. This one allows you to decouple complex logic and test it separately.

I encourage you to check them out and spend half an hour trying to understand how they work. Once you have done that, you will save lots of hours creating your tests.


Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *