Upload
discuss-agile
View
180
Download
1
Embed Size (px)
Citation preview
Decoding the ‘Pair Testing’ in Agile !
Mr. Krishna Mohan K
&
Ms. Rama K
Challenges especially to the testing team
• Agile projects introduce time-boxed development
• Agile brings in faster pace of development
• The test scripts need to be kept updated with changing requirement
• Development spill overs
• Insufficient unit testing
• Risk of regression
In short, time available for testing is limited; use whatever is available
efficiently & effectively !
The power of two
• The well-known proverb in English states it all –
“Two heads is better than one”…
• Krishna-Arjuna pairing in Mahabharata …
• This notion is also expressed in the New International Version (NIV) of the Bible. The two verses 9 & 10 of the Chapter 4 from the book Ecclesiastes (Ecclesiastes 4:9-10) quote, • 9. Two are better than one, because they have a good return for their work
• 10. If one falls down, his friend can help him up. But pity the man who falls and has no one to help him up!
The power of two
The power of two
The power of two
Pair Testing
• It is a technique in which two people
test an application at the same computer by continuously exchanging ideas
• The pilot, who is in charge of the keyboard and mouse, will be responsible to perform the actual testing tasks,
• Whilst the co-pilot analyses, reviews and guides the pilot.
The two members involved could take turns to be pilot and co-pilot at alternative instances.
Applying Pairing - Activity • Balloon Game - 3 Volunteers required
• 1 alone (Team A) and 2 in pair (Team B) will demonstrate
• Duration of activity - 3mins
• Scope - Blow the balloon, Tie the thread, Write any name on it
• Establish a goal – Measurable – 10 / 15 / ?? Balloons
• Identify pilot and the co-pilot (Team B)
• Execute
• Stick to the scope
• Ensure that you do not deviate from the scope of your activity It is quite possible that you may get newer ideas resulting in increased of scope of activity.
Applying Pair Testing Contd.
• Determine the duration of testing
• Identify scope of testing
• Establish a goal
• Determine who would be the pilot and the co-pilot
• Execute the tests
• Stick to the scope
Our advice is not to overcomplicate and follow the KISS principle
Pros of Pair Testing
• Better knowledge
• Inherent test case reviews
• High creativity
• Increased productivity
• Improved testing methodology
• Time saving
• Better bug reporting
• Effective training technique
• Better coordination
• Better reproduction of bugs
Cons of Pair Testing
• If the system under test is not complicated and has a limited number of test cases
• You have completely automated your testing process
• Testing of application that does a number of things in the background (for example Windows Services) or executes long running processes that span hours
• Issues if documentation is compromised and pair testing stops • Especially if new people have to take over testing tasks
• Negative costs with 2X cost for same activity
Factors for successful Implementation
• Time saving
• Time, practice and adaptation
• Social inclination
• No Jealousy/ego factor
• Team work
• Don’t measure individual performance, at least not in the beginning
Conclusion
• On closing note we would also like to caution you that Pair Testing is not a magic wand for all your testing problems
• It is complementary to the other testing techniques that you may already employ within your organization
• ‘Pairing’ works even better if 2 people are from different disciplines – e.g. dev & test, Dev & program manager etc. that is when different strengths come together
• Use it wisely and carefully