After sharing information on Smoke testing in the previous articles, in today’s Software testing class I am explaining about the Sanity testing. In this post I will explain the What is a sanity testing, Sanity Testing definition and tips on Sanity testing.
What is a Sanity Testing?
After receiving a Software build with the minor issues fixes in code or functionality, Sanity testing is carry out to check whether the bugs reported in previous build are fixed & there is regression introduced due to these fixes i.e. not breaking any previously working functionality. The main aim of Sanity testing to check the planned functionality is working as expected. Instead of doing whole regression testing the Sanity testing is perform.
Sanity tests helps to avoid wasting time and cost involved in testing if the build is failed. Tester should reject the build upon build failure.
After completion of regression testing the Sanity testing is started to check the defect fixes & changes done in the software application is not breaking the core functionality of the software. Typically this is done nearing end of SDLC i.e. while releasing the software. You can say that sanity testing is a subset of acceptance testing. We can also say Tester Acceptance Testing for Sanity testing. Sanity testing is narrow & deep approach of testing, it needs to concentrate limited & main features of testing in detailed.
Here are the few consolidated points of Sanity testing:
- Sanity testing follows narrow and deep approach with detailed testing of some limited features.
- Sanity testing is typically non-scripted.
- Sanity testing is a sub-set of regression testing.
- Sanity testing is cursory testing to prove software application is working as mention in the specification documents & meets the user needs.
- Sanity testing is used to verify the requirements of end users are meeting or not.
- Sanity testing to check the after minor fixes the small section of code or functionality is working as expected & not breaking related functionality.
Hope you get clear idea of Sanity testing in the above article & cleared any confusions on Sanity testing.
If you like this article then please share this article over your friends. And don’t forget to join the conversation below to share your best testing tips!