Skip to content
Bugwise
Menu

What are the phases of the software testing life cycle (STLC)?

ProcessMid-level

In shortRequirement analysis, test planning, test case design, test environment setup, test execution and test closure.

Model answer

The STLC describes the testing activities from start to finish. A common version has six phases:

PhaseWhat happensOutput
1. Requirement analysisReview requirements and user stories, ask questions, find unclear or untestable partsList of questions, testable requirements
2. Test planningDecide scope, approach, devices, effort, risksTest plan
3. Test case designWrite test scenarios, test cases and test dataTest cases, test data, traceability matrix
4. Environment setupPrepare servers, builds, devices, accountsReady test environment, smoke test passed
5. Test executionRun tests, report bugs, retest fixesTest results, bug reports
6. Test closureEvaluate exit criteria, summarize, share lessons learnedTest summary report

Example: for a new “Pay with Apple Pay” feature, you first ask what happens if the card is declined (phase 1), decide to test on three iPhones (phase 2), write test cases for success, cancel and decline (phase 3), set up sandbox cards on the devices (phase 4), run the tests and file bugs (phase 5), then write a summary for the release decision (phase 6).

In agile, these phases still happen, just in small loops inside every sprint instead of once per project.

Learn more: SDLC and STLC

What they're looking for

The six phases in order, what happens in each, and that testing starts with requirements, not with a finished build.

Common mistakes

  • Listing phases without saying what each one produces.
  • Saying testing starts only when the code is ready.

More process questions

Esc

Type to search the whole site.