AgileTD: Mob testing Training Day

73
@maaretp http://maaretp.com Mob Testing by Maaret Pyhäjärvi

Transcript of AgileTD: Mob testing Training Day

@maaretp http://maaretp.com

Mob Testing

by Maaret Pyhäjärvi

@maaretp http://maaretp.com

The Brief Basics to Mob Testing • Mob Testing • Exploratory Testing • Strong-Style Pairing Exercise

@maaretp http://maaretp.com

"All the brilliant people working on the same thing, at the same time, in

the same space, on the same computer." -- Woody Zuill

@maaretp http://maaretp.com

Mob Testing is Mob Programming so that:

•  You’re a tester in a mob

programming team OR

• Activity you mob on is testing

@maaretp http://maaretp.com

What Testing gives Us U

nit T

estin

g

Expl

orat

ory T

estin

g

SPEC FEEDBACK REGRESSION GRANULARITY

GUIDANCE UNDERSTANDING

MODELS SERENDIPITY Testing as

artifact creation

Testing as performance

@maaretp http://maaretp.com

Testers don’t break the code, they break your illusions about

the code. - Adapted from James Bach

@maaretp http://maaretp.com

Mobbing Setup and Roles

Driver

Navigators

Designated Navigator

Facilitator

@maaretp http://maaretp.com

Strong-Style Navigation

“For an idea to go from your head to the computer it must

go through someone else’s hands”

*http://llewellynfalco.blogspot.fi/2014/06/llewellyns-strong-style-pairing.html

@maaretp http://maaretp.com

Comparison

Strong Style Traditional

I have an idea… Please take the

keyboard

I have an idea… Give me the

keyboard

@maaretp http://maaretp.com

Strong-Style Pairing Exercise

@maaretp http://maaretp.com

Highest level of abstraction

Intent Location Details

@maaretp http://maaretp.com

Mobbing Guidelines

@maaretp http://maaretp.com

Yes, and…

@maaretp http://maaretp.com

Kindness, Consideration and

Respect

@maaretp http://maaretp.com

Mob Exploratory Testing

@maaretp http://maaretp.com

Activity: Exploring in a Mob 1 • Find the Happy Path: why would

anyone want to use this? • Retrospective: What have we

learned?

@maaretp http://maaretp.com

Discuss Observations Retrospective

Using Stickies

@maaretp http://maaretp.com

From Michael Sahota

STIC

KY

NO

TE

S D

ON

E R

IGH

T

@maaretp http://maaretp.com

Theory to take home

@maaretp http://maaretp.com

Product is my external imagination

I am my developer’s external imagination

@maaretp http://maaretp.com

Explore with Intent

Mission Charter

Other Charters Details

INT

EN

T

LEA

RN

ING

S

@maaretp http://maaretp.com

Exploratory Testing: Frame of Management

”A day’s work”

Vision (“Sandbox”) Current Charter

Other Charters Details

Bug Reports

Perception of quality and coverage

Quality Report Debriefing

Tester

Test Manager

Past Results Obstacles Outlook Feelings

?

#

x Charter backlog of the future testing

Out of budget

Next in importance!

#, ?, x, +

20:20:60

Session sheets of the past testing

Idea of exploration

Metrics summary

Coaching

Playbooks

Coverage outlines

@maaretp http://maaretp.com

Activity: Exploring in a Mob 2 • Coverage: Identify what is there • Retrospective: What have we

learned?

@maaretp http://maaretp.com

Discuss Observations Retrospective

Using Mindmap

@maaretp http://maaretp.com

Retrospective

@maaretp http://maaretp.com

Theory to take home

@maaretp http://maaretp.com

@maaretp http://maaretp.com

Testers acquire a lot of implicit knowledge

@maaretp http://maaretp.com

Introducing concepts, ideas

and tools

@maaretp http://maaretp.com

Vocalizing your ideas

@maaretp http://maaretp.com

Emotions through Trigger Words

@maaretp http://maaretp.com

Mapping Coverage, Bugs and Questions

@maaretp http://maaretp.com

Building habits and transferring skills

over passing knowledge

@maaretp http://maaretp.com

Activity: Creating Selenium Scripts

• Basic Selenium WebDriver Test • Retrospective: What have we

learned?

@maaretp http://maaretp.com

http://selenium.thinkcode.se/

Test Target Application by Thomas Sundberg

@maaretp http://maaretp.com

Task: Test as code

@maaretp http://maaretp.com

Discuss Observations Retrospective

Using Mindmap

@maaretp http://maaretp.com

Theory to take home

@maaretp http://maaretp.com

Test Automation is

Use of Programming for Testing Purposes

@maaretp http://maaretp.com

Programming is like writing. Getting

started is easy and it takes a lifetime to

get good at.

@maaretp http://maaretp.com

Empathy for a Special Needs User

@maaretp http://maaretp.com

Share the Whole Picture of

Test Automation

@maaretp http://maaretp.com

Breaking the Test Automation

Ownership

@maaretp http://maaretp.com

Building Confidence

@maaretp http://maaretp.com

Shared Experience Accelerates Adoption

@maaretp http://maaretp.com

Test automation isn't about automating manual tests,

it's decomposing the testing differently so automation

makes sense.

@maaretp http://maaretp.com

Activity: Test-Driven Development • Glimpse into Mob Programming:

contribution of a non-programming tester • Retrospective: What have we

learned?

@maaretp http://maaretp.com

Coding exercise (Fizz Buzz)

1, 2, Fizz, 4, Buzz,

Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, FizzBuzz,

16, 17, Fizz, 19, Buzz

@maaretp http://maaretp.com

Discuss Observations Retrospective

Using Mindmap

@maaretp http://maaretp.com

Theory to take home

@maaretp http://maaretp.com

Before implementing

While implementing

Before production

While in production

Testing as artifact creation

Testing as performance (exploration)

Ways to think of testing peak at different moments with regards to adding a capability

TOTALS

Testing is Everywhere!

@maaretp http://maaretp.com

Non-programmer is often still technical

@maaretp http://maaretp.com

Correcting Mistakes without

Egos in Play

@maaretp http://maaretp.com

Knowing what is relevant

@maaretp http://maaretp.com

Slow allows for thoughtful thinking

@maaretp http://maaretp.com

Stealth Exploration

@maaretp http://maaretp.com

Do both!

@maaretp http://maaretp.com

From technical debt to technical

assets

@maaretp http://maaretp.com

Best ideas win when you care

about work over credit

@maaretp http://maaretp.com

Best face forward in a group

@maaretp http://maaretp.com

We raise our collective competence,

allowing individuals to use specialized skills

@maaretp http://maaretp.com

Introducing Mob Testing as a Learning Activity

• Facilitation: speak through questions, introduce constraints, concepts and tools • Discussion on kindness, consideration

and respect in action • Learning to learn: removing the need

of a facilitator

@maaretp http://maaretp.com

Learning or Contributing

@maaretp http://maaretp.com

Accidental Learning by being Intentional

about Learning

@maaretp http://maaretp.com

@maaretp http://maaretp.com

The 1 % every day => 3600 % in a year

@maaretp http://maaretp.com

@maaretp http://maaretp.com

@maaretp http://maaretp.com

On being the best…

vs.

Linear Viewpoint

I know everything

you do!

You have nothing left to teach me

Reality

I know more than you do!

There is still so much more

I can learn from you

@maaretp http://maaretp.com

An All-Female Hackathon

@maaretp http://maaretp.com

Cognitive Dissonance

@maaretp http://maaretp.com

@maaretp http://maaretp.com

Maaret Pyhäjärvi Email: [email protected] Twitter: @maaretp Web: maaretp.com Blog: visible-quality.blogspot.fi (please connect with me through Twitter or LinkedIn)