31-10-2012, 12:51 PM
Software Testing Fundamentals
Software Testing.doc (Size: 28 KB / Downloads: 31)
Software Testing
It is expected that there will be always bugs in the software as it is
impossible to achieve inhuman perfection.
Testing Objectives
The test objective is systematically uncover different classes of errors
and to do this with a minimum amount of time.
Testing is a process of executing a program with the intent of finding an error.
A good test case is one that has high probability of finding an as
yet undiscovered error.
A successful test is one that uncovers an as yet undiscovered error.
Test Case Design
A software engineering product can be tested in one of two ways:
black box testing and white box testing
- black box testing - knowing the specified function that a product has been designed to perform, determine whether each function is fully operational.
Black box testing examines some aspect of the system with little regard
to the internal logical structure of the software.
Black box tests are used to demonstrate that the software functions are
operational, that input is properly accepted, output is correctly produced,
and the integrity of the external information maintained.
Basis Paths
Basis path testing is a white box testing technique that enable the
test designer to derive a logical complexity measure and use it as a guide
for defining a basis set of execution paths.
Test cases derived to exercise the basis are guaranteed to execute every
statement in the program at least one time during testing.