Why do we need to write test classes? How to identify if a class is a test class?
Answer / Shahadat Hussain
Test classes are necessary in Salesforce to ensure that Apex code works as expected and does not introduce bugs or issues. Test classes help validate business logic by exercising the code with different inputs and edge cases.nTo identify if a class is a test class, look for the @isTest annotation at the start of the class declaration.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of the aura:method tag in lightning ? : salesforce lightning component
What is a campaign?
What are the types of portals in salesforce?
Best practices of creating contact sharing rules? : salesforce admin
What is the difference between Force.com and Salesforce.com?
What is named credential in Salesforce?
What is sharing rule?
What are the different workflow actions available in salesforce? : salesforce admin
Difference between dev401 and dev501?
What is the difference between the normal “insert” operation and “database.insert” operation ? Which is preferred over the other and why ?
What can cause data loss in salesforce?
What are the different types of collections in apex? What are maps in apex? : salesforce crm