Levels of Testing
Software is tested at four levels, from the smallest piece to the whole system in the user's hands.
| Level | What is tested | Usually done by |
|---|---|---|
| Unit | One function or class on its own | Developers |
| Integration | Modules working together, for example the app and its API or database | Developers and testers |
| System | The complete application against the requirements | QA team |
| Acceptance (UAT) | Does it meet the business need? Ready to release? | Business users or the client |
The test pyramid
Have many fast unit tests at the bottom, fewer integration and API tests in the middle, and a small number of slow end-to-end UI tests at the top. Manual exploratory testing sits alongside all of them.
Black box, white box, grey box
- Black box: you test from the outside using inputs and outputs only. Most manual testing is black box.
- White box: you design tests from the code itself, for example to cover every branch.
- Grey box: you know some internals, such as the database tables, and use that to design better black box tests.
All 12 lessons in Manual Testing
- What Is Software Testing?
- QA vs QC vs Testing
- The Software Testing Life Cycle (STLC)
- Levels of Testing
- Functional vs Non-functional Testing
- Smoke, Sanity and Regression Testing
- Writing Good Test Cases
- Equivalence Partitioning and Boundary Value Analysis
- Decision Tables and State Transitions
- The Bug Life Cycle
- Writing a Great Bug Report
- Severity vs Priority, and Your Final Practice