Salesforce Fact #87 | At least one test method
We need to add at least one test method for our test class to run. We cannot add only testsetup method. The class would get saved but will throw runtime error.
This could be helpful in case when we have setup the required data but not yet decided on what to test exactly.
Attached are the screenshots.
Comments
Post a Comment