Understanding testing types
Now that we have a defined path to production, let’s look at the different types of testing. There are generally five types of testing that will be conducted:
- Unit testing
- System testing
- UAT testing
- Production testing
- Regression testing
Unit testing
Unit tests verify whether a particular piece of code is working properly. This type of testing is done by developers as they build code. Salesforce requires 75% code coverage. Code coverage indicates how many executable lines of code in your classes and triggers have been exercised by test methods. This is important in that code can be developed in sandboxes and tested by users without unit tests. To push that code to production, the unit tests must be written and covered.
Not all implementations include code, and this type of testing is needed only when there is code being written.
System testing
This testing takes place in the SIT sandbox...