test life cycle code example
Example 1: what is stlc
What is the software testing lifecycle?
a.stlc is a process steps in testing of software or application.
Requirement Analysis:
During requirement phase, I study requirements
from a testing point of view to identify the testable
requirements and I try to grasp the functionalities
of the application. I try to cover all sort of
testable aspects such as positive, negative,
boundry analysis, exploratory testing and
equivalence partitioning.
The deliverable of this step is
Requirement Traceability Matrix (RTM)
which is prepared inline with the requirements.
Test Planning: The most important deliverable is the test plan.
In this document, we cover the scope of the test,
the test strategy, testing types and tools to be implemented,
roles and responsibilities.
Test Case Development: During this phase,
we generate test cases for each and every
requirement covered in RTM, have them reviewed
by peers just to make sure we are on the same page.
We also write the automation scripts that
we are gonna automate the cases.
Test Environment Setup: Test environment decides
the software and hardware conditions under which
a work product is tested. Test environment set-up
is one of the critical aspects of testing process
and can be done in parallel with Test Case Development Stage.
Test Execution: During this phase, we carry out the
testing based on the test plans and the
test cases we prepared. Bugs will be
reported back to the developers for
correction and retesting will be performed.
Finally, Test cases are updated with the results,
defects are reported. Each and every item
on RTM should be completed at the end of this step.
Cycle closure: We Prepare Test closure report at
the end of the current cycle and prepare for the upcoming tests.
Example 2: what is STLC
STLC defines the phases in testing of software or application.
In STLC process in different activities are carried out to
improve the quality of the product.
o Requirements analysis
o Test Planning
o Test Designing
o Test Environment Setup
o Test Execution
o Test Reporting