What are some best practices when writing test classes?
Answer / Rajmala
Some best practices when writing test classes in Salesforce include: 1. Testing all critical and complex business logic; 2. Testing both positive and negative scenarios; 3. Covering code with at least 75% test coverage; 4. Using clear and descriptive test methods; 5. Writing test methods to be independent of each other.
| Is This Answer Correct ? | 0 Yes | 0 No |
What all are the components of workflow?
How many records can a select query return? How many records can a sosl query return?
What are encrypted fields? : salesforce objects & fields
Will visualforce still supports the merge fields usage like s-control?
Which interface need to implement so that you can use lightning component as quick action? : salesforce lightning component
What is a custom object in Salesforce?
What is tab in salesforce?
What is a role and role hierarchy? : salesforce admin
What is visualforce? : salesforce visualforce
How you will do Mass Insert through trigger?
What is mvc architecture in visualforce?
How do we schedule a batch apex?