we are agile but - goto conference · cat trainer, tmap test engineer, tmap test manager, tpi next...

42
We are agile but... Gitte Ottosen

Upload: others

Post on 14-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

We are agile but...Gitte Ottosen

Page 2: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini
Page 3: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

3

Gitte OttosenCapgemini Sogeti Danmark A/[email protected]

EducationCorporal in the Royal Danish AirforceCertificationsSCRUM master, ISEB foundation/practitioner, CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPCExperience• 22 years in the IT business• 5 years in Capgemini SogetiFocusTest management, test engineering, SCRUM, process improvement, LEAN, agile, context driven test, change managementAgile ExperienceCustomers: Systematic Software Engineering A/S, Mærsk Line IT, DONG, KMD, TDC, ArlaOtherFellow Sogeti Labs

Page 4: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Agile ... In the perfect world

► A cross functional team – all competences available within the team

► Quality is everybodys responsibility

► TDD integrated part of development method

► BDD the way we get the user stories right

► Continuous integration

► Automated regression test suite

► Potentially shippable software at the end of the sprint

Page 5: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

5

An Agile Transition... Some Quality Related Challenges

Old systems with little if any focus on unit test

No continuous integration

Large manual regression test suite No focus on test automation

Test is handled by a separate department

Quality is not build in – it is tested in late in the project

Business not availableUnstable Teams

Page 7: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

7

No Magic Wand... But some practical tips

Page 8: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

The agile manifest

We are uncovering better ways of developing software by doing it and helpingothers do it. Through this work we have come to value:

Individuals and interactions over processes and toolsWorking software over comprehensive doc. Customer collaboration over contract negotiationResponding to change over following a plan

That is, while there is value in the items on the right, we value the items on the left more.

ReferenceKent Beck, Mike Beedle, Arie van Bennekum, Alistair CockburnWard Cunningham, Martin Fowler, James Grenning, Jim HighsmithAndrew Hunt, Ron Jeffries, Jon Kern, Brian Marick, Robert C. MartinSteve Mellor, Ken Schwaber, Jeff Sutherland, Dave Thomas

Page 9: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

The Agile Perspective

OVER

• Individuals & interactions

• Working software

• Customer collaboration

• Responding to change

• Processes and tools

• Comprehensive documentation

• Contract negotiation

• Following a plan

Page 10: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

You don’t become

agile in a blink of

an eye

10

Page 11: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

11

Page 13: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Quality is something we test in...

Page 14: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

The 12 Agile Principles

1. Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.

2. Welcome changing requirements, even late in development. Agile processes harness change for the customer's competitive advantage.

3. Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale.

4. Business people and developers must work together daily throughout the project.

5. Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done.

6. The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.

7. Working software is the primary measure of progress. Agile processes promote sustainable development.

8. The sponsors, developers, and users should be able to maintain a constant pace indefinitely.

9. Continuous attention to technical excellence and good design enhances agility.

10.Simplicity--the art of maximizing the amount of work not done--is essential.

11. The best architectures, requirements, and designs emerge from self-organizing teams.

12. At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.

14

Page 15: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

15

Page 17: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Product BacklogPrioritized by customer

3-4 weeks

24 hours

Testet product ready for release

Sprint BacklogBroken down bySCRUM team.

Testing needs to be here?Or maybe even here?

Page 18: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

18

Are you ready?

Page 20: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

X-driven Development

20

Make the test

pass

Refactor

Write a failing test

TDD

N cycles

BDD

Write a failing feature test

Page 22: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Testing is someone else's problem

Page 23: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

23

Get TESTING integrated in the team

Get a TESTER integrated in the team

Page 24: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

The Agile Test Strategy

Technology-facing

Business-facing

Support

s t

he t

eam C

ritique

pro

duct

Functional testStory test

Proto typesSimulations

Q2

Unit testComponent test

Q1

Explorative testScenario testUsability test

UATPilot test

Q3

Non-functional(response, load…)

Security

Q4

Manual

Automatic

Manual& automatic

Tools

Source: Brian Marick

Page 25: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

25

But when do we test?

https://zenexmachina.wordpress.com

Page 26: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

26

Changing the way we test

Sprint 1 Sprint 2 Sprint 3

Test Sprint 1

Test Sprint 2

Sprint 4

Test Sprint 3

Test Sprint 4

Page 27: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Train the Team in Testing

2727

Proces Cyclus Test

Train the Business in Testing

Page 28: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Business not available

Page 29: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Building Bridge Between Business and IT

29

Page 30: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Understand your business

30

Page 31: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Classification Trees

31

Field1

Field 2

Field 3

Field 4

Field5

Page 32: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

State Transition Test

32

NewAccepted

En route

In progress

Completed

Redirect

Cancelled

Paused

Invoiced

Closed

Page 33: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Large Manual Regression Test Suite

33

Page 34: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

Truely Risk Based?

Medium High Critica

Low Medium High

Low Low Medium

Impact

Pro

bability

Page 36: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

36

Page 37: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

37

Page 38: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

38

Page 39: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini

39

Page 41: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini
Page 42: We are agile but - GOTO Conference · CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation , SAFe SPC Experience •22 years in the IT business •5 years in Capgemini