0% found this document useful (0 votes)
47 views19 pages

Software Quality Assurance

This document summarizes the key phases of the Software Testing Life Cycle (STLC). It discusses six main phases: test planning, test analysis, test design, test case preparation, testing cycles, and post implementation. For each phase, it provides details on the activities and objectives. It also provides an example of writing test cases for a given requirement to validate input for a cellular phone number text box. The class activity involves students writing additional test cases for this requirement.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views19 pages

Software Quality Assurance

This document summarizes the key phases of the Software Testing Life Cycle (STLC). It discusses six main phases: test planning, test analysis, test design, test case preparation, testing cycles, and post implementation. For each phase, it provides details on the activities and objectives. It also provides an example of writing test cases for a given requirement to validate input for a cellular phone number text box. The class activity involves students writing additional test cases for this requirement.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 19

SOFTWARE QUALITY

ASSURANCE
LECTURE # 7

SOFTWARE TESTING LIFE


CYCLE
Today’s Plan
 Introduction to Software Testing Life Cycle (STLC)
 Class Activity
Software Testing Life Cycle
 STLC (Software Testing Life Cycle) is an integral
component of SDLC.
 STLC identifies what test activities to carry out and
when (what is the best time) to accomplish those test
activities.
 Even though testing differs between organizations,
there is a testing life cycle.
Software Testing Life Cycle
Software Testing Life Cycle
STLC consists of six (generic) phases which are as
follows:

1. Test Planning
2. Test Analysis
3. Test Design
4. Test Cases Preparation
5. Testing Cycles
6. Post Implementation
STLC – Test Planning
 This is the phase where Project Manager has to
decide what things need to be tested, do I have the
appropriate budget etc.
 The Software Test Plan (STP) is designed to
prescribe the scope, approach, resources, and
schedule of all testing activities.
STLC – Test Planning (Cont..)

 The plan must identify:

 the items to be tested


 the features to be tested
 the types of testing to be performed
 the personnel responsible for testing
 the resources and schedule required to complete testing
 the risks associated with the plan
STLC – Test Analysis
 Once test plan is made and decided upon, next step is
to delve little more into the project and decide what
types of testing should be carried out at different
stages of SDLC.
 Proper and regular meetings should be held between
testing teams, project managers, development teams,
Business Analysts to check the progress of things
which will give a fair idea of the movement of the
project and ensure the completeness of the test plan
created in the planning phase.
STLC – Test Design
 Test plans and cases which were developed in the
analysis phase are revised.
 If you have thought of automation then you have to
select which test cases to automate and begin writing
scripts for them.
 Test data is prepared.
 Standards for unit testing and pass / fail criteria are
defined here.
 Schedule for testing is revised (if necessary) &
finalized and test environment is prepared.
STLC – Test Cases Preparation
 In this phase, test cases are prepared.

(We will be preparing test cases as a class activity later………)


STLC – Testing Cycles
 In this phase we have to complete testing cycles until
test cases are executed without errors or a predefined
condition is reached.
 Run test cases --> Report Bugs --> revise test cases (if
needed) --> add new test cases (if needed) --> bug
fixing --> retesting (test cycle 2, test cycle 3….).
STLC – Post Implementation
 In this phase, the testing process is evaluated and
lessons learnt from that testing process are
documented.
 Line of attack to prevent similar problems in future
projects is identified.
Test Case Sample
CLASS
ACTIVITY
Writing Test Cases
Class Activity – Writing Test
Cases
Requirement # 2.1

The screen should have a text box having its label


“Cellular”. This text box should not allow user to
enter
alpha and special characters. Also user should not be
able to enter more than 11 digits and input of less than
11 digits should prompt/generate an error message”.
Sample Test Cases
 You may come up with many other cases. Few are
written below:
1. To test that a text box is available on the screen with label
‘Cellular’
2. To test that spelling of label is correct.
3. To test that the text box should be editable and enable by
default.
4. To validate that system should not allow user to enter
alphanumeric data in text box.
5. To validate that system should not allow user to enter special
characters in text box.
Sample Test Cases
6. To validate that system should not allow user to enter more
than 11 digits data.
7. To validate that system should not allow user to submit data
having length less than 11 digits.
8. To validate the error message’s text; which appears when
user attempts to submit data in Cellular field with less than
11 digits.
9. To test that system should accept the valid data i.e. numeric
having length of 11 digits.
10. To test the appearance of the data in Cellular text box i.e. the
entered data should be displayed completely in the text box.
Class ahead

Defect Life Cycle

You might also like