Features included in Testing frameworkjohnsontitusMay 13, 20201 min readcreate unit testsrun unit testsrun only code marked as testscheck the test resultcheck code coverage that should be minimum 75 percent to deploy the code
Data loader for bulk testingThe data loader is used to insert, update, or delete large amounts of data at once. This is great for bulk testing parts of your code...
Best Practices for Unit testingUnit tests are class methods that verify whether a particular piece of code is working properly. Unit test methods take no arguments,...
To load test data using csv fileSave the csv file as a static resource. In the test class, use the method: List<sObject> ls = Test.loadData(<ObjectType>.sObjectType,'<na...
Comments