43
Agile Testing in the Enterprise Janet Gregory @janetgregoryca Janet Gregory, DragonFire Inc. Copyright 2016 Agile Testing Days, Potsdam 2016

Agile Testing in the Enterprise 2016

Embed Size (px)

Citation preview

Page 1: Agile Testing in the Enterprise   2016

Agile Testingin the

Enterprise

Janet Gregory

@janetgregoryca

Janet Gregory, DragonFire Inc. Copyright 2016

Agile Testing Days, Potsdam 2016

Page 2: Agile Testing in the Enterprise   2016

Agile Testing; 2009

More Agile Testing: Oct 2014Co-authored with Lisa Crispin

Website:

www.agiletester.com www.agiletester.ca

DragonFire Inc.www.janetgregory.ca

@janetgregoryca

[email protected]

2

Page 3: Agile Testing in the Enterprise   2016

Let’s learn a bit about your experiences

- Less than 100 people- Larger than 1,000 employees- Larger than 5,000- Different cities, same time zone (or 1 hr. apart)- Time zones more than 7 hrs difference- More than 3 remote teams- Others?

3

Page 4: Agile Testing in the Enterprise   2016

to share my experiences on how

agile testing activities can span large teams…

4

Page 5: Agile Testing in the Enterprise   2016

Some of the challenges

Plan for testing

Key testing practices that work across teams

5

Sharing is caring

Page 6: Agile Testing in the Enterprise   2016

Large organizations

that have enterprise applications and solutions

@janetgregoryca

Page 7: Agile Testing in the Enterprise   2016

Small co-located teams: Agile’s sweet spot

7

Page 8: Agile Testing in the Enterprise   2016

Defined by its:◦ Values, norms,

assumptions

◦ Social system

◦ Visible artifacts Icons

Rituals

Vocabulary

8

@janetgregoryca

Page 9: Agile Testing in the Enterprise   2016

9

How do we interact? Do you play the

blame game?

@janetgregoryca

Page 10: Agile Testing in the Enterprise   2016

• Bureaucracy

• Reporting needs (real or imagined)

• Orders handed down ….

• Too many concurrent projects

@janetgregoryca

Page 11: Agile Testing in the Enterprise   2016

• Organizational controls – regulatory, internal

• Working with third parties

• Involving customers in other locations

• ERP system integration

11@janetgregoryca

Page 12: Agile Testing in the Enterprise   2016

Other Testing Specific Issues

Too many dependencies

12

Tester on more than one team

Page 13: Agile Testing in the Enterprise   2016

Some of the challenges

Plan for testing

Key testing practices that work across teams

13

Sharing is caring

@janetgregoryca

Page 14: Agile Testing in the Enterprise   2016

Consider the feature

Create testable stories

Who tests what?

14

@janetgregoryca

Page 15: Agile Testing in the Enterprise   2016

Rel

eas

e P

lan

nin

gTeam A

Planning

Test Mind Map

Team BPlanning

Team CPlanning

Team DPlanning

ReleaseTest Matrix

Release Test Planning/ Approach

Page 16: Agile Testing in the Enterprise   2016
Page 17: Agile Testing in the Enterprise   2016

Lots of Stuff Shopping

Release 1.5 Data

In

teg

rity

Look

& F

eel

Calc

ula

tion

s

Cu

rren

cy

Loca

liza

tion

Dev

ices

iP

ad

Dev

ices

iP

hon

e

Bou

nd

ary

Con

dit

ion

s

Load

/ P

erfo

rman

ce

Sec

uri

ty

Store customer information

Add to shopping cart

Calculate shipping costs

Mobile iOs - view only

Next feature

Legend

Good to Go

Some testing; could use more

Major issue

No testing done

Not applicable `

Page 18: Agile Testing in the Enterprise   2016

18

Think in Levels of Detail

Page 19: Agile Testing in the Enterprise   2016

19

Dependencies between teams

Remove them before the iteration, but remember to test them

@janetgregoryca

Page 20: Agile Testing in the Enterprise   2016

20

Page 21: Agile Testing in the Enterprise   2016

21

@janetgregoryca

Page 22: Agile Testing in the Enterprise   2016

22

Page 23: Agile Testing in the Enterprise   2016

Each team responsible for delivering their

feature -- completely

Specialist teams report to the “owner” feature

team.

23

Page 24: Agile Testing in the Enterprise   2016

Over-riding test strategy on how …. but

• Understand who is testing what

• What are the overlaps?

• Where are the gaps?

• Co-ordination between teams?

• ASK: Who, when, how???

24

@janetgregoryca

Page 25: Agile Testing in the Enterprise   2016

Coordinate

Tools & Practices

25

Page 26: Agile Testing in the Enterprise   2016

• Classes of tools

• Involve teams in choosing tools

• One size does not fit all◦ But … be aware of too many tools for support or

cross-training

26

Page 27: Agile Testing in the Enterprise   2016

• Same version control◦ Understand the branching and merging approach

• Same CI environment◦ Use to visualize test results

• Accessible & stable test environments◦ Know what versions of applications are in each

environment

27

Page 28: Agile Testing in the Enterprise   2016

Some of the challenges

Plan for testing

Key testing practices that work across teams

28

Sharing is caring

@janetgregoryca

Page 29: Agile Testing in the Enterprise   2016

• What is the state of testability of your architecture?◦ Can you simplify it for automation?

• Regulatory◦ simplest thing you can possibly do

◦ Consider NECESSARY artifacts – can you automate

29

Page 30: Agile Testing in the Enterprise   2016

• Power of 3

30

• Repeat verbal conversations in writing

• Question

• Draw pictures

• Test ideas

Page 31: Agile Testing in the Enterprise   2016

• Aim for short feedback cycles

• Remove dependencies early

• Start with a test to remove assumptions

31

@janetgregoryca

Page 32: Agile Testing in the Enterprise   2016

We can use tests and examples for shared understanding and common language

For example, create a function to add 2 numbers

-2 + 1 = -1

2.0 + 1.050 = 3.050

2.0 + 1 = 3.0

2 + 1 = 3

Page 33: Agile Testing in the Enterprise   2016

@janetgregoryca

Page 34: Agile Testing in the Enterprise   2016

@janetgregoryca

Page 35: Agile Testing in the Enterprise   2016

Some of the challenges

Plan for testing

Key testing practices that work across teams

35

Sharing is caring

@janetgregoryca

Page 36: Agile Testing in the Enterprise   2016

Sharing information, that is

Transparency means less blame

• No hiding

• No secrets

• No gaming the system

The hard part is making it visible

36

@janetgregoryca

Page 37: Agile Testing in the Enterprise   2016

• Share dependencies

• Same vision

• Same goal

• Accessible to all

• Keep everyone “in the loop”

37@janetgregoryca

Page 38: Agile Testing in the Enterprise   2016
Page 39: Agile Testing in the Enterprise   2016

39

Page 40: Agile Testing in the Enterprise   2016

40

Page 41: Agile Testing in the Enterprise   2016
Page 42: Agile Testing in the Enterprise   2016

42

Final note:

I’m not advocating distributed teams or

out-sourcing but if you are faced with those

problems, I hope you can use some of these

ideas to help manage your agile testing.

and

Agile ≠ NO DOCUMENTATION

Know your own context!

Page 43: Agile Testing in the Enterprise   2016

Agile Testing: A Practical Guide for Testers and Agile Teams

More Agile Testing: Learning Journeys for the Whole Team

By Janet Gregory and Lisa Crispin

www.agiletester.ca

www.agiletester.com

Contact info

www.janetgregory.caEmail: [email protected]: janetgregoryca

43