Please enable JavaScript.
Coggle requires JavaScript to display documents.
Testing - Coggle Diagram
Testing
BASIC CONCEPTS
Program testing is as old as computer programming
Eliminating defects
Testing theory
Detecting defects
Designing test cases from different sources
Selecting a subset of test cases
Effectiveness of the test case selection strategy
Test oracles used during testing
Prioritizing the execution of the selected test cases
Adequacy analysis of test cases
Any testing theory must inherit the
fundamental limitation of testing
THEORY OF PROGRAM TESTING
Testing remains as the most practical and reliable method for defect detection
THEORY OF GOODENOUGH AND GERHART
identified a few types of program errors
They classify program failures in the following manner
Logic Fault
Requirements fault
Gave a theory for selecting test data from the input domain of a program
It's widely quoted and appreciated in the research community of software testing
Difficulties in applying the theory
It's impossible to prove the reli- ability and validity
Neither reliability nor validity is preserved during the debugging process
If P is a correct program , then any test will be successful and every selection criterion is reliable and valid
Theory of Testing
for every test predicate, we select a test
The definitions of an ideal test and thoroughness of a test do not reveal any relationship between them
Program Errors
Any approach to testing is based on assumptions
Faults are due to two main reasons:
Inadequate understanding of program conditions
We do not realize that certain combinations of conditions require special treatments. special treatments.
THEORY OF GOURLAY
An ideal goal in software development is to find out whether or not a program is correct,
Power of Test Methods
A tester is concerned with the methods to produce test cases
LIMITATIONS OF TESTING
The adequacy of a test set be evaluated independent of test design processes for the programs under test
Fault Seeding
Program Mutation
ADEQUACY OF TESTING
Testing gives designers and programmers much confidence in a software component