What is Sanity Testing?

Software Quality Assurance Questions Medium



80 Short 74 Medium 48 Long Answer Questions Question Index

What is Sanity Testing?

Sanity testing, also known as smoke testing, is a type of software testing that is performed to quickly evaluate whether the software application is stable enough for further testing. It is a subset of regression testing and focuses on verifying the basic functionality of the software after a minor change or bug fix.

The main objective of sanity testing is to ensure that the critical functionalities of the software are working as expected and there are no major issues that would prevent further testing. It is usually performed after the completion of a build or a new feature implementation.

During sanity testing, a set of predefined test cases are executed to check if the key features and functionalities of the software are working properly. This includes verifying the installation process, launching the application, accessing the main functionalities, and ensuring that there are no critical errors or crashes.

Sanity testing is different from comprehensive testing as it does not aim to test all the functionalities of the software. Instead, it focuses on the most important and critical aspects to quickly identify any major issues that may have been introduced during the development or bug fixing process.

If any critical issues are found during sanity testing, the software is considered unstable and further testing is halted until the issues are resolved. On the other hand, if no major issues are found, the software is considered stable and can proceed to more comprehensive testing.

In summary, sanity testing is a quick and focused testing approach that helps ensure the stability and basic functionality of the software before proceeding with more extensive testing. It helps save time and resources by identifying major issues early in the testing process.