19 Aug
19Aug

Some development teams copy and paste code from 1 unit test to another to create test data for their testmethod. Then when they need to add a new field because it is a new required field that is failing tests they realise they've got to copy to all classes.  Some development teams improve this by having a central class but the functions they make have passed in arguments for each field, so for each field that needs to be passed in requires a change to this class.  


Our framework is highly flexible and capable of creating whatever type of test data structures required. 


Download the full guide to improve your Salesforce code quality.

Comments
* The email will not be published on the website.