Top Banner
"The Art of Questioning to improve Testing, Agile, and Automating" Alan Richardson Test Consultant CompendiumDev.co.uk EvilTester.com @EvilTester
35

The Art of Questioning to improve Software Testing, Agile and Automating

Apr 15, 2017

Download

Alan Richardson
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Art of Questioning to improve Software Testing, Agile and Automating

"The Art of Questioning to improve Testing, Agile,

and Automating"

Alan RichardsonTest Consultant

CompendiumDev.co.ukEvilTester.com

@EvilTester

Page 2: The Art of Questioning to improve Software Testing, Agile and Automating

Asking Questions to...

● Build a model: risks, issues, gaps● What questions expose the risks?● What questions trigger action?● What questions foster responsibility?

Page 3: The Art of Questioning to improve Software Testing, Agile and Automating

5 Whys

● Common 'management' questioning● Toyota● (Lean) Six Sigma Tool● Root Cause Analysis

Page 4: The Art of Questioning to improve Software Testing, Agile and Automating

Fritz Perls on Why

If we spend our time looking for causes instead of structure we may as well give up the idea of therapy and join the group of worrying grandmothers who attack their prey with such pointless questions as “Why did you catch that cold?” “Why have you been so naughty?”

Fritz Perls,The Gestalt Approach

Page 5: The Art of Questioning to improve Software Testing, Agile and Automating

“Why?” is a Belief Question

● Beliefs about causes● Reinforces a model

– Justification

● Leads to:– Because...

Page 6: The Art of Questioning to improve Software Testing, Agile and Automating

How? What? Where? When? Who?

● Explore a model● Build a system● Lead to

– Experiments

– Action

– Responsibility

Page 7: The Art of Questioning to improve Software Testing, Agile and Automating

Dear Evil Tester

Q&A Agony Aunt for Testers

Page 8: The Art of Questioning to improve Software Testing, Agile and Automating

Sometimes we don't know what to do and just need some advice.

Page 9: The Art of Questioning to improve Software Testing, Agile and Automating

Q: Should I pretend to test?

“In the past I have worked with project managers who have only pretended to manage. Just in case I come across this sort again in the future, I want to know; should I only pretend to test too, as a form of self-preservation?”

Eliza

Page 10: The Art of Questioning to improve Software Testing, Agile and Automating

A: No

Dear Eliza,

...

"NO".

...

All the best,

Uncle Evil

Page 11: The Art of Questioning to improve Software Testing, Agile and Automating

Q: Should I pretend to test?

“In the past I have worked with project managers who have only pretended to manage. Just in case I come across this sort again in the future, I want to know; should I only pretend to test too, as a form of self-preservation?”

ElizaQuestions have a model of the world embedded in them.

Page 12: The Art of Questioning to improve Software Testing, Agile and Automating

Q: Tester not pulling their weight?

Dear Evil Tester,

What's the best way to deal with a fellow tester who is not pulling his/her weight?

Anon

Page 13: The Art of Questioning to improve Software Testing, Agile and Automating

A: Delegate Upwards

Dear Anon,

...raise your concerns to your manager, after all your lazy manager usually has plenty of time on their hands, and it is their responsibility to deal with your light-weight under performing co-workers.

Yours,

Team Spirit Coach Evil

Answers also have a model of the world embedded in them.

Page 14: The Art of Questioning to improve Software Testing, Agile and Automating

A: Delegate Upwards

Dear Anon,

...raise your concerns to your manager, after all your lazy manager usually has plenty of time on their hands, and it is their responsibility to deal with your light-weight under performing co-workers.

Yours,

Team Spirit Coach Evil

Answers also have a model of the world embedded in them.

Page 15: The Art of Questioning to improve Software Testing, Agile and Automating

Q&A Provocation

Page 16: The Art of Questioning to improve Software Testing, Agile and Automating

Some Questions are Practical

Page 17: The Art of Questioning to improve Software Testing, Agile and Automating

Q: How to Track Exploratory Testing

Dear Evil Tester,

Do you recommend any tools for note-taking and managing test sessions?

Page 18: The Art of Questioning to improve Software Testing, Agile and Automating

Dependency Danger

Page 19: The Art of Questioning to improve Software Testing, Agile and Automating

What do I do next?

Page 20: The Art of Questioning to improve Software Testing, Agile and Automating

What do I do next again?

Page 21: The Art of Questioning to improve Software Testing, Agile and Automating

Consultancy Job Security

● Job Security – 'the answer person'● Consultants / Managers / Leads

– Aim to go 'out of business'● build flexibility● not dependency

Page 22: The Art of Questioning to improve Software Testing, Agile and Automating

Dependency

● Asking questions for 'answers' rather than to build a model to increase understanding

● A step by step model has no flexibility● Not learning to ask questions that help

when expert is not present

Page 23: The Art of Questioning to improve Software Testing, Agile and Automating

Avoiding Dependency

● Lead by example– “asking the right questions”

● Ask questions – which expose underlying model– to prompt exploration of model

● Gaps, risks

– to prompt comparison of model to system● Issues, bugs

Page 24: The Art of Questioning to improve Software Testing, Agile and Automating

Modelling Testing as Questioning

● Given a model, does the System match the model?

● Requirements say X, can I do X?● System 'looks like' I should be able to

do Y, can I?

Page 25: The Art of Questioning to improve Software Testing, Agile and Automating

Modelling Testing as Questioning

● Under this model:– Test == Ask a Question– Answer -> Expand/Confirm Model– Reporting == Communicate Model

Page 26: The Art of Questioning to improve Software Testing, Agile and Automating

Modelling Agile as Questioning

● Agile– responding to change– Change based on learning– Learning == changes to models &

understanding

Page 27: The Art of Questioning to improve Software Testing, Agile and Automating

Modelling Agile as Questioning

Agile requires asking a lot of questions– What are we doing? – Why? – How Well? – Could be better? – How much? – Minimum acceptable?– constantly

Page 28: The Art of Questioning to improve Software Testing, Agile and Automating

Automating as Questioning

● Automate putting system into a specific state

● Codify specific pre-defined questions● Assert on the answers

...Repeat

Page 29: The Art of Questioning to improve Software Testing, Agile and Automating

Automating as Questioning

● Automate putting system into a specific state

● Codify specific pre-defined questions● Assert on the answers

...Repeat Questions have a model of the world embedded in them.

Page 30: The Art of Questioning to improve Software Testing, Agile and Automating

Meta-Model

Page 31: The Art of Questioning to improve Software Testing, Agile and Automating

Meta-Model

http://compendiumdev.co.uk/nlp

Page 32: The Art of Questioning to improve Software Testing, Agile and Automating

Meta-Model

Page 33: The Art of Questioning to improve Software Testing, Agile and Automating

Meta-Model

Page 34: The Art of Questioning to improve Software Testing, Agile and Automating

Summary

● The questions we ask reveal our model of the world.

● We can ask questions of 'the world' to explore and expand our model.

Page 35: The Art of Questioning to improve Software Testing, Agile and Automating

@EvilTester 35

Ask The Questions!

● Alan Richardson– @EvilTester

– www.EvilTester.com

– www.JavaForTester.com

– www.SeleniumSimplified.com

– www.CompendiumDev.co.uk