33
Agile Development Agile Colombo, Sri Lanka 2016 Janet Gregory @janetgregoryca www.janetgregory.ca Are You Sure You’re Building the Right Thing? Copyright 2016 Janet Gregory, DragonFire Inc.

Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Embed Size (px)

Citation preview

Page 1: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Agile Development

Agile Colombo, Sri Lanka 2016

Janet Gregory

@janetgregoryca

www.janetgregory.ca

Are You Sure You’re Building the Right Thing?

Copyright 2016 Janet Gregory, DragonFire Inc.

Page 2: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Agile Testing; 2009

More Agile Testing: Oct 2014

Website:

www.agiletester.com www.agiletester.ca

2

Page 3: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Ideas for building quality in …..

that you can start using tomorrow

Take-aways

3

Page 4: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

How do we define quality?

4

"Quality is value to some person.” – Jerry Weinberg

Page 5: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

For your value, which is better?

Which is right?

Page 6: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Deming’s Third Principle

Cease dependence on inspection

(testing after product is built)

Instead, build quality into the process

Page 7: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

In agile development, the focus is on

Prevention(i.e. build quality in)

not Detection

7

Page 8: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Common pitfall: Starting with “how”

Product Owner writes a story for a feature

And describes the implementation instead

of purpose and the problem to solve

8

Page 9: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Can something be right? But not meet a customer’s needs?

Page 10: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Or … We might overlook stakeholders

Each feature may have multiple, different users

10

Page 11: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

The Risks

11

Wasted time in rework

Time added for missing

requirements

Page 12: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Result: Unhappy Users

12

Page 13: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Look at the big picture

What can we do?

Page 14: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

1. Find a pair

2. One person faces away from the screen

3. The other person will have 2 -3 minutes to describe the picture I show next

4. When I say stop, turn around and discuss any differences in what was described.

Page 15: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016
Page 16: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Achieve Shared Understanding

16

Page 17: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Getting everyone engaged

17

BusinessAnalyst Designer

?????

Page 18: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Keep the big picture in mind

Page 19: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Start with the Why!

19

What is the purpose?

What value will it deliver?

• to end users?

• to the business?

How will we know it is successful?

Page 20: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Use a framework to structure discussions

20

Mind map

Diagram flows

Create mock-ups

Let’s look at some other examples

Page 21: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Story MappingJeff Patton: User Story Mapping

21

Page 22: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Story Mapping

Steve Rogalskyhttp://winnipegagilist.blogspot.ca

More Agile Testing, p. 12822

Page 23: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Structured Conversations

23

Page 24: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

functional

nonfunctional

www.DiscoverToDeliver.com/visual-language.php

Source: Discover To Deliver, Gottesdiener & Gorman, 2012

Page 25: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

25

Example mapping - discovery workshops

Source: Matt Wynne: Introducing Example Mapping

Page 26: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

As the security dude, I want to enforce strong password rules for customer log-in, So that we have limited risk for identity theft

Example

26

Story

Rules

Examples

Questions

1. At least 8 characters long2. Maximum of 32 characters3. Contains at least 1 special char and 1 number

Valid: p4ssw0rd!, pa55w#rdpInvalid: P4ssw0rd1, p4ssw@d

Where to put focus if an invalid password is entered?What happens if they have a certain number of invalid passwords?

Page 27: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

• To elicit requirements

• To reduce uncertainty

• To test people’s understanding of the requirement

27

Use examples ….. Credit and thanks to Brian Marick

Examples …..

• Can become the actual tests

• Are a form of specification

Page 28: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Building the right thing ….. means

Creating a shared understanding first

28

Page 29: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

We also need to explore what we built

29

Page 30: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Use what

you

learned

Measure

/ Evaluate

Learn

Build

30

Page 31: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Development in agile projects is not easy

• Problems happen faster so impact is felt faster

• Make the issues visible so you can learn

• Be courageous – be a change agent

Mostly, have fun and enjoy the

challenge!

31

Page 32: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

More reading

32

• Gottesdiener, Ellen and Mary Gorman, Discover to Deliver, 2012

• Hendrickson, Elisabeth, Explore It!, 2013

• Larsen, Michael, “Unchartered Waters”, http://bit.ly/1NMYyww

• Patton, Jeff, User Story Mapping, 2014

• Simbhoedatpanday, Kishen, “Example Mapping – Steering the Conversation”, http://bit.ly/1Qlnz0y

• Wynne, Matt, "Introducing Example Mapping", http://bit.ly/1iw19w4

Page 33: Are You Building the Right Thing? - Janet G @ CMBAgileConf 2016

Contact Information

[email protected]

www.janetgregory.ca

twitter: @janetgregoryca

[email protected]

www.lisacrispin.com

twitter: @lisacrispin

www.agiletester.ca

www.agiletester.com33