Smoke Testing Vs Sanity Testing with Realtime Example
📌 Smoke Testing and Sanity Testing are types of software testing, but they focus on different purposes. ❓ Smoke Testing: 💡 Purpose : To check if the basic functionalities of the application are working after a new build or deployment. 💡When : After a new build or release, to make sure the critical features don’t break. 💡Scope : Broad but shallow testing to ensure the stability of the build. 💡 Real-time Example : Imagine a new version of an e-commerce app is released. In smoke testing, you’d check if: 1. The app launches. 2. Users can log in. 3. Products load on the homepage. 4. Payments can be initiated. If these key features are working, the build is considered stable for further testing. ❓ Sanity Testing: 💡Purpose : To verify that specific bugs or issues are fixed and that no further problems have been introduced. 💡When : After a minor change or bug fix in the software. 💡Scope : Narrow but deep testing focused on specific functionality. 💡Real-time Example: If th