Software_Testing_Cheat_Sheet
Software_Testing_Cheat_Sheet
1. Unit Testing
- Description: Testing individual components or modules of a software in isolation to ensure they
function correctly. Typically performed by developers during the development phase.
- Example: Testing a single function that calculates the sum of two numbers to verify it returns the
correct result.
2. Integration Testing
- Description: Testing the interaction between integrated units or components to detect interface
defects. Ensures that combined parts of an application function together as intended.
- Example: Verifying that a login module correctly interacts with a database to authenticate users.
3. System Testing
- Description: Testing the complete and integrated software to evaluate the system's compliance
with the specified requirements.
- Example: Testing an entire e-commerce application, including user registration, product search,
order placement, and payment processing.
5. Smoke Testing
- Description: A preliminary test to check the basic functionality of the software. It determines
whether the critical features work and if the build is stable enough for further testing.
- Example: After a new build, verifying that the application launches successfully and the main
menu is accessible.
6. Sanity Testing
- Description: A subset of regression testing focused on verifying that specific functionalities work
as intended after minor changes or bug fixes.
- Example: After fixing a bug related to password reset, testing only the password reset
functionality to ensure it's working correctly.
7. Regression Testing
- Description: Re-running previously conducted tests to ensure that new code changes have not
adversely affected existing functionalities.
- Example: After adding a new payment method to an online store, testing all payment options to
ensure they still work correctly.
8. Performance Testing
- Description: Evaluating the speed, responsiveness, and stability of the software under a
particular workload.
- Example: Testing how a website performs when 10,000 users access it simultaneously.
9. Load Testing
- Description: Assessing the software's behavior under expected user loads to identify
performance bottlenecks.
- Example: Simulating 1,000 concurrent users on a web application to ensure it can handle the
expected traffic.