Agile Testing in the Enterprise 2016

Preview:

Citation preview

Agile Testingin the

Enterprise

Janet Gregory

@janetgregoryca

Janet Gregory, DragonFire Inc. Copyright 2016

Agile Testing Days, Potsdam 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

janet@agiletester.ca

2

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

to share my experiences on how

agile testing activities can span large teams…

4

Some of the challenges

Plan for testing

Key testing practices that work across teams

5

Sharing is caring

Large organizations

that have enterprise applications and solutions

@janetgregoryca

Small co-located teams: Agile’s sweet spot

7

Defined by its:◦ Values, norms,

assumptions

◦ Social system

◦ Visible artifacts Icons

Rituals

Vocabulary

8

@janetgregoryca

9

How do we interact? Do you play the

blame game?

@janetgregoryca

• Bureaucracy

• Reporting needs (real or imagined)

• Orders handed down ….

• Too many concurrent projects

@janetgregoryca

• Organizational controls – regulatory, internal

• Working with third parties

• Involving customers in other locations

• ERP system integration

11@janetgregoryca

Other Testing Specific Issues

Too many dependencies

12

Tester on more than one team

Some of the challenges

Plan for testing

Key testing practices that work across teams

13

Sharing is caring

@janetgregoryca

Consider the feature

Create testable stories

Who tests what?

14

@janetgregoryca

Rel

eas

e P

lan

nin

gTeam A

Planning

Test Mind Map

Team BPlanning

Team CPlanning

Team DPlanning

ReleaseTest Matrix

Release Test Planning/ Approach

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 `

18

Think in Levels of Detail

19

Dependencies between teams

Remove them before the iteration, but remember to test them

@janetgregoryca

20

21

@janetgregoryca

22

Each team responsible for delivering their

feature -- completely

Specialist teams report to the “owner” feature

team.

23

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

Coordinate

Tools & Practices

25

• 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

• 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

Some of the challenges

Plan for testing

Key testing practices that work across teams

28

Sharing is caring

@janetgregoryca

• 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

• Power of 3

30

• Repeat verbal conversations in writing

• Question

• Draw pictures

• Test ideas

• Aim for short feedback cycles

• Remove dependencies early

• Start with a test to remove assumptions

31

@janetgregoryca

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

@janetgregoryca

@janetgregoryca

Some of the challenges

Plan for testing

Key testing practices that work across teams

35

Sharing is caring

@janetgregoryca

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

• Share dependencies

• Same vision

• Same goal

• Accessible to all

• Keep everyone “in the loop”

37@janetgregoryca

39

40

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!

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: janet@agiletester.caTwitter: janetgregoryca

43

Recommended