johnsontitusMay 25, 20201 min readData 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...
johnsontitusMay 21, 20202 min readBest 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,...
johnsontitusMay 18, 20201 min readTo 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...
johnsontitusMay 14, 20201 min readSteps in Unit TestingCreate test data Call the Apex class method in the test method Verify results using System.asserts or assertequals
johnsontitusMay 13, 20201 min readFeatures included in Testing frameworkcreate unit tests run unit tests run only code marked as tests check the test result check code coverage that should be minimum 75...
johnsontitusMay 13, 20201 min readAutomate Test Execution (For Free)Six Tips to Great Unit Tests https://developer.salesforce.com/blogs/developer-relations/2016/07/six-tips-great-unit-tests.html Tests run...