Testing Life Cycle (STLC)
Understand the systematic approach to testing through the Testing Life Cycle
35 min•By Priygop Team•Last updated: Feb 2026
STLC Phases
- Test Planning: Define testing strategy and approach
- Test Analysis: Analyze requirements and create test cases
- Test Design: Create detailed test scenarios
- Test Implementation: Prepare test environment and data
- Test Execution: Run tests and log results
- Test Closure: Analyze results and create reports
Test Planning Activities
- Define test objectives and scope
- Identify test deliverables
- Estimate effort and resources
- Define test environment requirements
- Create test schedule and milestones
- Identify risks and mitigation strategies
Test Analysis and Design
- Test Analysis Example
- Requirements Analysis REQ-001: User should be able to login with valid credentials REQ-002: User should be redirected to dashboard after successful login REQ-003: User should see error message for invalid credentials
- Test Case Design TC-001: Valid Login Test
- Input: username="testuser", password="testpass"
- Expected: Login successful, redirect to dashboard TC-002: Invalid Username Test
- Input: username="invalid", password="testpass"
- Expected: Error message "Invalid username or password" TC-003: Invalid Password Test
- Input: username="testuser", password="wrongpass"
- Expected: Error message "Invalid username or password"
- Test Scenario Design Scenario 1: Happy Path Login
- Given: User is on login page
- When: User enters valid credentials
- Then: User should be logged in successfully Scenario 2: Invalid Credentials
- Given: User is on login page
- When: User enters invalid credentials
- Then: User should see error message