Sanity Testing:
- Subset of Regression Testing:
Sanity testing is a subset of regression testing and focuses on the smaller section of the application. - Unscripted:
Most of the times sanity testing is not scripted. - Not documented:
Usually sanity testing is undocumented. - Narrow and deep:
Sanity testing is narrow and deep approach of testing where limited functionalities are covered deeply. - Performed by testers:
Sanity testing is normally performed by testers.
Advantages of Sanity Testing:
- Sanity testing helps in quickly identify defects in the core functionality.
- It can be carried out in lesser time as no documentation is required for sanity testing.
- If the defects are found during sanity testing, project is rejected that is helpful in saving time for execution of regression tests.