Great job on starting a new lesson! After reading this lesson, click Next 👉 button at bottom right to continue to the next lesson.
Sanity testing is a type of software testing that quickly tests the basic operation or functionality of the software after a major change, such as an upgrade or a new feature deployment. Sanity testing is done to test that the software is still working and if it is reasonable to proceed with further testing. Sanity testing is a subset of regression testing.
Sanity testing examples
- Testing the login functionality of a web application, after a new security update is applied.
- Measuring the loading speed and responsiveness of a mobile app, after a new user interface design is implemented.
- Testing the calculation of taxes and discounts on a sample order in an e-commerce website, after a new payment method is added.
- Testing compatibility of a web application with different browsers, operating systems, and devices, after an upgrade.
- Testing the basic commands and operations of a software tool after a new feature is added.
Tips for sanity testing
- Select only the most critical functions of the system to test.
- Use simple tests or checklists to perform sanity testing.
- Perform sanity testing after any major change to the system.
- Report and fix any defects found during sanity testing promptly, so that the system testing may begin.
- Use the standard automation tools in your project to expedite sanity testing.
FAQ (interview questions and answers)
- What are the advantages of sanity testing?
It reduces the risk of committing significant time and resources, by letting you know if the software is ready for further testing or not. It tests if the system still meets the basic business requirements. - What challenges have you faced in sanity testing?
It needs correct and complete basic requirements and specifications. It may not cover detailed or advanced test scenarios. It may not detect defects in other quality aspects, such as performance or security. - How do you measure the progress of sanity testing?
By measuring the number of test cases executed vs test cases planned, number of defects fixed vs found, number of functions validated vs total number of functions etc.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.