15
Decoding the ‘Pair Testing’ in Agile ! Mr. Krishna Mohan K & Ms. Rama K

Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

Embed Size (px)

Citation preview

Page 1: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

Decoding the ‘Pair Testing’ in Agile !

Mr. Krishna Mohan K

&

Ms. Rama K

Page 2: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

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 !

Page 3: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

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!

Page 4: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

The power of two

Page 5: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

The power of two

Page 6: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

The power of two

Page 7: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

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.

Page 8: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

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.

Page 9: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

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

Page 10: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

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

Page 11: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

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

Page 12: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

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

Page 13: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama

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

Page 14: Decoding the ‘Pair Testing’ in Agile ! Presented by Krishna and Rama