We are agile but... Gitte Ottosen

Size: px
Start display at page:

Download "We are agile but... Gitte Ottosen"

Transcription

1 We are agile but... Gitte Ottosen

2

3 3 Gitte Ottosen Capgemini Sogeti Danmark A/S Education Corporal in the Royal Danish Airforce Certifications SCRUM master, ISEB foundation/practitioner, CAT trainer, Tmap Test Engineer, Tmap Test Manager, TPI Next foundation, SAFe SPC Experience 22 years in the IT business 5 years in Capgemini Sogeti Focus Test management, test engineering, SCRUM, process improvement, LEAN, agile, context driven test, change management Agile Experience Customers: Systematic Software Engineering A/S, Mærsk Line IT, DONG, KMD, TDC, Arla Other Fellow Sogeti Labs

4 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

5 An Agile Transition... Some Quality Related Challenges Unstable Teams Business not available Large manual regression test suite No focus on test automation No continuous integration Quality is not build in it is tested in late in the project Old systems with little if any focus on unit test Test is handled by a separate department 5

6 Then what...? 6

7 No Magic Wand... But some practical tips 7

8 The agile manifest We are uncovering better ways of developing software by doing it and helping others do it. Through this work we have come to value: Individuals and interactions over processes and tools Working software over comprehensive doc. Customer collaboration over contract negotiation Responding 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. Reference Kent Beck, Mike Beedle, Arie van Bennekum, Alistair Cockburn Ward Cunningham, Martin Fowler, James Grenning, Jim Highsmith Andrew Hunt, Ron Jeffries, Jon Kern, Brian Marick, Robert C. Martin Steve Mellor, Ken Schwaber, Jeff Sutherland, Dave Thomas

9 The Agile Perspective Individuals & interactions Working software Customer collaboration Responding to change OVER Processes and tools Comprehensive documentation Contract negotiation Following a plan

10 You don t become agile in a blink of an eye 10

11 11

12 12

13 Quality is something we test in...

14 14 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-toface 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.

15 15

16 The tester is not here today so we cannot get the stories tested 16

17 Or maybe even here? Testing needs to be here? 24 hours 3-4 weeks Product Backlog Prioritized by customer Sprint Backlog Broken down by SCRUM team. Testet product ready for release

18 Are you ready? 18

19 19 User stories and acceptance criteria Ask what not how Specific Measurable Agreed Relevant Testable Given... When... Then... X

20 X-driven Development Write a failing feature test BDD Write a failing test TDD Make the test pass Refactor N cycles 20

21 Technical Debth Source: activestate.com 21

22 Testing is someone else's problem

23 Get a TESTER integrated in the team Get TESTING integrated in the team 23

24 Supports the team The Agile Test Strategy Manual& automatic Business-facing Manual Functional test Story test Proto types Simulations Q2 Q1 Unit test Component test Explorative test Scenario test Usability test UAT Pilot test Q3 Q4 Non-functional (response, load ) Security Critique product Source: Brian Marick Automatic Technology-facing Tools

25 But when do we test? 25

26 Changing the way we test Test Sprint 4 Test Sprint 3 Test Sprint 2 Test Sprint 1 Sprint 1 Sprint 2 Sprint 3 Sprint 4 26

27 Train the Team in Testing Proces Cyclus Test Train the Business in Testing 27 27

28 Business not available

29 Building Bridge Between Business and IT 29

30 Understand your business 30

31 31 Classification Trees Field1 Field 2 Field 3 Field 4 Field5

32 32 State Transition Test New Accep ted En route In progr ess Comp leted Invoic ed Cance lled Redir ect Pause d Close d

33 Large Manual Regression Test Suite 33

34 Probability Truely Risk Based? Medium High Critica Low Medium High Low Low Medium Impact

35 Time for Spring Cleaning 35

36 36

37 37

38 38

39 39

40 40

41

42