Professional Documents
Culture Documents
&
Principles
Contents
3.1 General Testing Principles
(The Seven Key Principles)
3.2 Fundamental Test Process
3.3 Psychology of Testing
3.1 General Testing Principles
Myers 2004
General Testing Principles
The Seven Key Principles
2. Exhaustive Testing is Impossible!
3.Early testing
Testing activities should start as early as possible
in the development life cycle
100
90
80
70
Relative 60
Multiples 50
Cost
40
30
20
10
0
Reqs Des Code Unit Accept Use
General Testing Principles
The Seven Key Principles
4. Defect Clustering
If we build a system and, in doing so, find and fix defects ....
It doesn’t make it a good system
Even after defects have been resolved, it may still be unusable and/or
does not fulfil the users’ needs and expectations
Beizer 1983
Fundamental Test Process
3. Test Implementation and Execution
Myers - 2004
Fundamental Test Process
4. Evaluating Exit Criteria and Reporting
Exit criteria ensures that the testing of the application is completed and
ready.
Test execution is assessed against the objectives defined in Test Planning
This should be done for each Test Level (i.e. test stage)
Test Planning Test Analysis Test Implementation Evaluating Exit Criteria Test Closure
and Control and Design and Execution and Reporting Activities
This has evolved to a stage where testing is performed with the primary aim
of finding faults rather than proving correctness. It is perceived as a
destructive ( negative ) process
Seeking to find failures (the right approach) can be viewed as criticism of the
product and/or its author
Myers - 1979
Psychology of Testing
However as with most other disciplines an effective test team will need a
mix of skills so it is difficult to generalise
Psychology of Testing
Developer vs Tester Relationship
Independent testing
The right approach could enable Developers to test the code
Authors tend to bring across assumptions they have made when developing
the software. They are less likely to write tests to show faults in their own
software (human nature)