Pair testing is another example of test pattern.
- Pair testing is a way of approaching a test design process by having two people test the same time and place continuously.
- The dynamics of pairing enables the generation of more and different ideas than either tester is likely to produce on his own.
- It is an effective complement to individual testing.
- Composer/ lyricist pair
- Pilot and Co-pilot in a aeroplane
Two tester working together produce tests, over a period of time continuously exchanging ideas. Assuming that the conditions exists that enables test design, successful pair testing requires three specific conditions
- At least one tester is available who can be trusted to test without supervision
- Another tester is available who can join the first tester for a session of test design.
- The two testers are otherwise capable of working together
- Idea Exchange – The process of explaining and questioning helps pollinate new ideas. This is true even when one of the testers is much less knowledgeable than the other one.
- Attention flow – The core dynamic of pair testing is the flow of attention. Pair testing requires that the testers synchronize their pace of work. They continuously share ideas and direct themselves to various problems.
- Test strategy – If each tester specializes in a different sub-systems, then as a pair they may be especially effective at system testing that examines the interaction among those sub-systems.