Showing posts with label π‘πžπ­πžπ¬π­π’π§π . Show all posts
Showing posts with label π‘πžπ­πžπ¬π­π’π§π . Show all posts

Wednesday, July 15

π’π¦π¨π€πž vs π’πšπ§π’π­π² vs π‘πžπ π«πžπ¬π¬π’π¨π§ vs π‘πžπ­πžπ¬π­π’π§π 

 π’π¦π¨π€πž vs π’πšπ§π’π­π² vs π‘πžπ π«πžπ¬π¬π’π¨π§ vs π‘πžπ­πžπ¬π­π’π§π  testing?


1. π’π¦π¨π€πž π“πžπ¬π­π’π§π 
Smoke testing in web development involves a quick check to ensure the core functionalities of a web application are working before delving into more detailed testing.

π’πœπžπ§πšπ«π’π¨:
You've just launched a new e-commerce website. Before conducting detailed tests, you quickly check if:
- The homepage loads.
- Users can log in.
- The search function works.
- Users can add items to the cart and proceed to checkout.
If any of these core features fail, you halt further testing and address the issues immediately.

2. π’πšπ§π’π­π² π“πžπ¬π­π’π§π 
Sanity testing is a narrow and deep testing approach focusing on specific parts of the web application after minor changes or building Wishlists.

π’πœπžπ§πšπ«π’π¨:
A developer fixed a bug where the 'Add to Wishlist' button wasn't working on the Wishlist page. You perform sanity testing by:
- Verifying the wishlist's Add to Wishlist button now works correctly.
- Ensuring that the wishlist updates and displays the added items.
You don't test the entire website, just the parts related to the bug fix.

3. π‘πžπ π«πžπ¬π¬π’π¨π§ π“πžπ¬π­π’π§π 
Regression testing ensures that recent changes or updates to the web application haven’t adversely affected existing functionalities. It involves re-running previously conducted tests to confirm everything still works as intended.

π’πœπžπ§πšπ«π’π¨:
Your team added a new feature allowing users to filter products by color. To ensure this new feature didn't break anything, you conduct regression testing:
- Check if the login process still works.
- Verify the search function and cart functionality.
- Ensure the checkout process and payment gateway are still operational.
- Test previously fixed bugs to ensure they haven't resurfaced.

4. π‘πžπ­πžπ¬π­π’π§π 
Retesting focuses on verifying that specific defects have been fixed. Unlike regression testing, it centers on the failed test cases that have been corrected.

π’πœπžπ§πšπ«π’π¨:
There was a bug where the contact form on the website wasn't submitted properly. After the development team fixes it, you perform retesting by:
- Submitting the contact form to ensure it works correctly now.
- Checking if the form submission sends an email notification as expected.
You don't check other parts of the website, just the specific issue that was fixed.

π’π¦π¨π€πž vs π’πšπ§π’π­π² vs π‘πžπ π«πžπ¬π¬π’π¨π§ vs π‘πžπ­πžπ¬π­π’π§π 

  π’π¦π¨π€πž vs π’πšπ§π’π­π² vs π‘πžπ π«πžπ¬π¬π’π¨π§ vs π‘πžπ­πžπ¬π­π’π§π  testing? 1. π’π¦π¨π€πž π“πžπ¬π­π’π§π  Smoke testing in web devel...