exploratory testing in an agile development organization (it quality & test management...

44
Case: Exploratory Testing in an agile development organization Johan Åtting, Sectra @johanatting IT Quality & Test Management, Copenhagen 12 June 2013

Upload: johan-atting

Post on 26-May-2015

434 views

Category:

Design


2 download

DESCRIPTION

A case about how a company (Sectra) is using Exploratory Testing in their agile development organization where testers and developers are sitting together in cross functional teams using Scrum.

TRANSCRIPT

Page 1: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Case: Exploratory Testing in an agile development organization

Johan Åtting, Sectra

@johanatting

IT Quality & Test Management, Copenhagen 12 June 2013

Page 2: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Developer, Tester, Project Manager, Test Manager, Support Manager, Operations Manager, Quality Manager, Line Manager, @johanatting Founded EAST: Östergötlands Association for Software Testers

Conference speaker Currently: Chief Quality Officer at Sectra

Transport, Bank & Finance, Telecom and MedTech.

19 years in the software business

Page 3: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

WHY & HOW

we use exploratory testing in our context today

Page 4: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

CONTEXT

Page 5: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

13%

87% Radiology IT - RIS/PACS

Orthopedic Imaging

Rheumathology

Our mission is to increase effectiveness of healthcare, while maintaining or increasing quality in patient care.

Page 6: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

10 Agile development teams

2 Testers + 4 Programmers per team

Development & Testing - One department

Page 7: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Release Test Development ...

...

... . . .

Exploratory Testing - During Sprints - Between Sprints (Cross Team Testing) - During Release Test

Page 8: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

What is Exploratory Testing?

Page 9: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Exploration

Wandering

Page 10: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Explore: The jungles of ...

Using: Map, local guides, whip ...

To: Find lost treasures

Page 11: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Explore: export function

To: see how file size effects performance

Using: The image data db, ...

Page 12: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Explore: export function

To: collect info about design consistency

Using: the import function as Oracle

Page 13: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Mission / Plan / Charters

Test...

Adjust Observe

use feedback from the previous test to inform the next

Page 14: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)
Page 15: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

WHY

Page 16: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Benefits of exploratory testing

• It’s agile, flexible and responsive

• Focus & time is spent on testing and not on writing test scripts

• Learning about the system step by step

• We find more bugs

Page 17: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

HOW

Page 18: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

1 2 3 4 5 6 7 8 9 10

Two week sprint Sp

rin

t P

lan

nin

g

Spri

nt

Dem

o

Testing

Initial test planning

Continuous test re-planning

Page 19: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Initial test planning: 1) Brainstorm test ideas based on:

• Sprint objective

• Quality characteristics (safety, security, performance, reliability, capability, usability…)

• Risks (safety, business, technical)

• ...or any other basis or source for test ideas

=> Documented as e.g. mind maps

Page 20: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Initial test planning: 2) Organize test ideas (mind map) into charters:

• Explore: Area, function, feature...

• To: discover information about...

• Using: resources, oracles, heuristics

Page 21: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Testing

Test...

Adjust Observe

Adjust: next step in the charter

Page 22: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Continuous test re-planning

Test...

Adjust Observe

Adjust: add charters & re-prioritize

Page 23: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

When are we done?

We use test levels! (to discuss test coverage)

Page 24: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

0 Not tested

1 Sanity Check

2 Common & Critical

3 Reasonable

4 Complex 5 Can’t think of anything more that could give us valuble information

Test Levels

Todays testing tasks progress board

Target area

Page 25: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Test Owner Area Status

Anna Reporting

Ben Import

Chris Export

David Printing

Ellen User roles

Fred Archiving (not started)

Greg Regression (not started)

Weekly test status meeting with all testers

Possible problems* or we suspect there will be

No problems* found or suspicions of any

Known problems*

*Problems = Preventing release or preventing further testing

Page 26: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Output: (from a team sprint)

• Exploratory test records

• Updated (or new) regression tests

• Test cases for the Release Test phase

• Bug reports (only unfixed bugs)

But only if needed

Page 27: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Release Test Development ...

...

... . . .

Exploratory Testing - During Sprints - Between Sprints (Cross Team Testing) - During Release Test

Page 28: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Cross Team Testing Gather all testers to test each others test

objects after every sprint.

We need to get fresh, unbiased, independent eyes on what is being developed.

Page 29: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Sprint Sprint Sprint Sprint

Cro

ss T

eam

Te

stin

g

Cro

ss T

eam

Te

stin

g

Cro

ss T

eam

Te

stin

g

Sprint Sprint Sprint Sprint Sprint Sprint Sprint Sprint Sprint Sprint Sprint Sprint

Page 30: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

1 2 3 4 5 6 7 8 9 10

In the beginning of the next two week sprint Sp

rin

t P

lan

nin

g

Spri

nt

Dem

o

Pla

nn

ing

(1-2

ho

urs

)

Test

ing

(6 h

ou

rs)

Cross Team Testing

Page 31: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Planning (1-2 hours) 1. High level presentation of test objects

2. Planning sessions in smaller groups

Page 32: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Testing (6 hours) • Exploratory group testing sessions (*3)

• Debrief to the Test Owner

• Bug reporting

Page 33: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Time Slot Activity

9:20 Test Session #1 70min

10:30 Debriefing Session #1 15min

10:45 FIKA

11:00 Test Session #2 75min

12:15 Debriefing Session #2 15min

12:30 LUNCH

13:30 Test Session #3 75min

14:45 Debriefing Session #3 15min

15:00 -> Bug Reporting / Optional additional testing

Page 35: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Release Test Development ...

...

... . . .

Exploratory Testing - During Sprints - Between Sprints (Cross Team Testing) - During Release Test

Page 36: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Release Testing Before we start Relese Testing all areas need to have a ...

Page 37: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Test Owner Area Status

Anna Reporting

Ben Import

Chris Export

David Printing Ellen User roles

Fred Archiving

Greg Regression

... at the end of each row.

Page 38: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Test Owner Area Status

Anna Reporting Ben Import Chris Export David Printing Ellen User roles Fred Archiving

Greg Regression

Start of Release Test Phase

Page 39: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Release Testing • Planned by each test owner

• Coordinated by a test project manager

• Mix of: Retest of new features, workflow based tests, regression tests...

• Mix of exploratory tests & scripted tests

• Test environment is freezed

Page 40: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Test Owner Area Status

Anna Reporting

Ben Import

Chris Export

David Printing Ellen User roles

Fred Archiving

Greg Regression

Continue Release Testing until

Page 41: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Summary

Page 42: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Benefits of exploratory testing

• It’s agile, flexible and responsive

• Focus & time is spent on testing and not on writing test scripts

• Learning about the system step by step

• We find more bugs

Page 43: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

We do Exploratory Testing - During Sprints - Between Sprints (Cross Team Testing)

- During Release Test

Page 44: Exploratory testing in an agile development organization  (it quality & test management conference   copenhagen 12 june 2013)

Twitter: @JohanAtting Linkedin: Johan Åtting E-mail: [email protected]