UNIT 8 - Software - Testing - Strategies
UNIT 8 - Software - Testing - Strategies
UNIT VIII
Introduction
party.
implementing it.
2. Equivalence partitioning :
-> It is often seen that many type of inputs work
similarly so instead of giving all of them separately
we can group them together and test only one input
of each group.
-> The idea is to partition the input domain of the
system into a number of equivalence classes such
that each member of class works in a similar way,
i.e., if a test case in one class results in some error,
other members of class would also result into same
error.
Black Box
It is also called glass box, transparent box, clear box or code base
testing.
The white-box Testing method assumes that the path of the logic
in a unit or program is known.
Working Process of White Box
Statement coverage:
->In this technique, the aim is to traverse all statement
at least once. Hence, each line of code is tested.
-> In case of a flowchart, every node must be traversed
at least once. Since all lines of code are covered,
helps in pointing out faulty code.
Testing techniques of White Box
Branch Coverage :
Loop Testing:
->Loops are widely used and these are fundamental to
many algorithms hence, their testing is very
important.
-> Errors often occur at the beginnings and ends of
loops.
-> Different strategies are used for different types of
loops like simple ,Nested loops.
Conventional Software
Conventional software is
the software or applications which
perform some particular task.
For example : desktop application,
Microsoft Power point, Ms Excel etc are
considered as conventional
software.
Strategies for conventional software
1. Unit testing
2. Integration testing
3. Regression testing
4. Smoke testing
Unit testing focus on the smallest unit of software
design, i.e module or software component.
Test strategy conducted on each module interface to
access the flow of input and output.
The local data structure is accessible to verify
integrity during execution.
Boundary conditions are tested.
In which all error handling paths are tested.
Integration testing
a. Top-down integration
b. Bottom-up integration
Top-down integration
Regression Testing :
In regression testing the software architecture changes
every time when a new module is added as part of
integration testing.
Smoke Testing :
The developed software component are translated into
code and merge to complete the product.