STLC
~10 mins
STLC -Software Testing Life Cycle ( ~60 mins)
STLC is a sequence of different activities performed by the testing team to ensure the quality of the software or the product.
- Requirement Analysis
- Test Planning
- Test Case Development
- Test Environment Setup
- Test Execution
- Test Closure
1. Requirements Analysis
- In this phase testing team goes through the Requirement document with both Functional and non-functional details in
order to identify the testable requirements. - In case of any confusion the QA team may setup a meeting with the clients and the stakeholders (Technical Leads,
Business Analyst, System Architects and Client etc.) in order to clarify their doubts. - Once the QA team is clear with the requirements they will document the acceptance Criteria and get it approved by the
Customers.
1.1 Activities to be done in Requirement analysis phase are given below:
- Analyzing the System Requirement specifications from the testing point of view
- Preparation of RTM that is Requirement Traceability Matrix
- Identifying the testing techniques and testing types
- Prioritizing the feature which need focused testing
- Analyzing the Automation feasibility
- Identifying the details about the testing environment where actual testing will be done
1.2 Deliverables (Outcome) of Requirement analysis phase are:
- Requirement Traceability Matrix (RTM)
- Automation feasibility report.
2. Test planning
- This phase starts soon after the completion of the Requirement Analysis phase. In this phase the QA manager or QA Lead will prepare
the Test plan and Test strategy documents. As per these documents they will also come up with the testing effort estimations.
2.1 Activities to be done in Test Planning phase are given below:
- Estimation of testing effort
- Selection of Testing Approach
- Preparation of Test Plan, Test strategy documents • Resource planning and assigning roles and responsibility to them
- Selection of Testing tool
2.2 Deliverables (Outcome) of Test Planning phase are:
- Test Plan document
- Test Strategy document
- Best suited Testing Approach
- Number of Resources, skill required and their roles and responsibilities.
Testing tool to be used.
3. Test case development
- In this phase the QA team write test cases.
- They also write scripts for automation if required.
- Verification of both the test cases and test scripts are done by peers.
- Creation of Test Data is done in this phase.
3.1 Activities to be done in Test Case Development phase are given below:
- Creation of test cases
- Creation of test scripts if required
- Verification of test cases and automation scripts
- Creation of Test Data in testing environment
3.2 Deliverables (Outcome) of Test Case Development phase are:
- Test cases
- Test scripts (for automation if required)
- Test Data
4.Test Environment setup
- This phase includes the setup or installation process of software and hardware which is required for testing the application. In this phase the
integration of the third party application is also carried out if required in the project. - After setting up the required software and hardware the installation of build is tested. Once the installation of build is successful and complete
then the Test Data is generated. - After the creation of Test data the Smoke testing is executed on the build in order to check whether the basic functionalities are working fine or
not. This phase can be done in parallel with the Test Case Development phase.
4.1 Activities to be done in Test Environment Setup phase are given below:
- As per the Requirement and Architecture document the list of required software and hardware is prepared
- Setting up of test environment
- Creation of test data
- Installation of build and execution of Smoke testing on it
4.2 Deliverables (Outcome) of Test Environment Setup phase are:
- Test Environment setup is ready
- Test Data is created
- Results of Smoke testing
5. Test Execution
- Before starting the Test Execution phase the Test Environment setup should be ready. In Test Execution phase the test cases
are executed in the testing environment. - While execution of the test cases the QA team may find bugs which will be reported against that test case. This bug is fixed by
the developer and is retested by the QA.
5.1 Activities to be done in Test Execution phase are given below:
- Execution of Test Cases • Reporting test results
- Logging defects for the failed test cases
- Verification and retesting of the defect • Closure of defects
5.2 Deliverables (Outcome) of Test Execution phase are:
- Test execution Report
- Updated test cases with results
- Bug Report
6. Test Cycle Closure
- In order to start the Test Cycle Closure activity the Test Execution phase should be completed. In Test Cycle phase the QA
team will meet and discuss about the testing artifacts. - The whole intent of this discussion is to learn lessons from the bad practices. This will help in future projects.
6.1 Activities to be done in Test Cycle Closure phase are given below:
- To evaluate the test completion on the basis of Test Coverage and Software Quality
- Documentation of the learning from the project
- Analyzing the test results to find out the distribution of severe defects • Test Closure Report preparation
6.2 Deliverables (Outcome) of Test Cycle Closure phase are:
- Report of Test Closure