gsjgd exploratory testing: real world rapid testing in ... · testing for customer value is...

25
Exploratory Testing: Real world rapid testing in Agile teams Ravi Shanker Principal Program Manager, Microsoft Corporation

Upload: others

Post on 04-Jul-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Exploratory Testing: Real world rapid testing in Agile teams

Ravi Shanker Principal Program Manager, Microsoft Corporation

GSJGD

Page 2: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Agenda

Focusing on customer value through the lifecycle

Exploratory testing – why care?

Debunking exploratory testing myths

Page 3: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

The Agile Workflow

Page 4: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Customer value – where are you?

Page 5: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Customer value in backlog item

Tester = customer proxy

Is the backlog item definitive customer value?

Is this the best customer value to deliver this sprint?

Page 6: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Exploratory testing

Centered on customer value rather than spec compliance

Find bugs fast and early without overhead

Tests working software!

Page 7: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Exploratory testing – myths

1. Exploratory testing is ad-hoc, random testing

2. There is no way to measure exploratory testing

3. Bugs found through exploratory testing are hard to repro

Page 8: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

What are you DOING?

Page 9: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Method in the madness – “Testing Tours”

Guidebook tour

Back alley tour

Supermodel tour

You can make up your own…

Dogfood IDC NAR

Page 10: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Sample tours – how we did it

The Reflex tour – tests responsiveness of the IDE

The Idiot tour – tests F1 inline help on each element

The Palatial tour – tests our multi monitors experience

The Footprint tour – tests virtual memory usage

The Budget tour – tests experience on a low end machine

Dogfood IDC NAR

Page 11: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Food for thought…

For the application that you are working on, build a “tour” that you think will be useful for exploratory testing.

Dogfood IDC NAR

Page 12: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Where are we?

Page 13: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Measuring exploratory testing

Right metrics are like a fingerprint of your team: no silver bullet

Distinguish between app quality metrics and metrics that direct exploratory testing

Page 14: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Metrics – how we did it

Code coverage across tours

Story complexity to bugs ratio

Session duration for stories

Session roll up per tour

Page 15: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Heat maps – how we did it

Page 16: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Food for thought…

For the project that you are working on, think of what metrics are most meaningful to direct your exploratory testing

Dogfood IDC NAR

Page 17: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Finding reproducible bugs

Page 18: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables
Page 19: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Bug filing with exploratory testing

3 components of time spent

during exploratory testing

(courtesy Jon Bach)

• S = Setup time

• T = Testing time

• B = Bug filing time

S

T

B

S

T

B

“Cut the BS and get more T !!”

Page 20: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Rich bugs – how we did it

Automatic repro steps

Screenshots

Desktop recording

System information

Intellitrace logs

Page 21: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Test documentation – how we did it

Test cases automatically created while doing exploratory testing

Can save artifacts from exploration like expected image

With each sprint, regression suites are automatically ready

Page 22: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables
Page 23: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Conclusion

Testing for customer value is paramount throughout the product lifecycle

Exploratory testing done with right tools enables you to:

Define and vector testing as appropriate for your app

Communicate your testing goals and progress to the team

Test more frequently and file comprehensive bugs faster

Page 24: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Go on…be a fearless explorer!

Page 25: GSJGD Exploratory Testing: Real world rapid testing in ... · Testing for customer value is paramount throughout the product lifecycle Exploratory testing done with right tools enables

Q&A