exploratory test - making test soup on a nail

33
Making Test-Soup on a Nail Getting From Nothing to Something Gitte Ottosen [email protected] 1

Upload: godtesen

Post on 07-Nov-2014

6.500 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Exploratory test - Making test soup on a nail

Making Test-Soup on a Nail

Getting From Nothing to Something

Gitte Ottosen [email protected]

1

Page 2: Exploratory test - Making test soup on a nail

© Sogeti

Sogeti Profile

•  Sogeti is a leading provider of structured testing solutions •  Part of the Sogeti Group, which brings together more than 20,000

professionals in 15 countries and is present in over 100 locations in Europe, USA and India

•  Creators of the globally recognized methodologies TMap NEXT ®

and TPI NEXT®

•  Well established cooperation with HP, IBM and Microsoft

Page 3: Exploratory test - Making test soup on a nail

© Sogeti

And yes… the HORROR •  I AM CERTIFIED!!!

–  ISEB Practitioner –  TMap test engineer –  Certified Scrum master –  Certified Agile Test (CAT) Trainer –  Certificate TPI NEXT Foundation –  …And I am probably not done yet

•  But I have also –  Been in the Royal Danish Air force for 9 years –  Tested complex mission critical systems the last 18 years –  Read a lot of books… about a lot of “stuff” J –  Been at conferences – to learn and share –  Been part of networks – to learn and share –  Been a scout for 10 years – learning by doing –  Been doing a lot of crafts and creative stuff that stimulates my brain –  Been looking at the fish in my aquariums …

3

Page 4: Exploratory test - Making test soup on a nail

© Sogeti

Why This Presentation Anyway?

•  Reactions from last Agile testing days –  It sounds simple but how do we do in practice? –  Like your presentation, great with a practical description of

exploratory –  Have read and heard a lot about exploratory but how do I get

started?

•  Less theory more practice –  I want to show you a practical example of how I have used

exploratory in a certain context in order to inspire you to get started.

–  I haven’t got the ”best practice” – but I have a good practice from the context I was in at that point in time.

4

Page 5: Exploratory test - Making test soup on a nail

Let’s get started

5

Page 6: Exploratory test - Making test soup on a nail

© Sogeti

Definition of Exploratory Test

”An interactive process of simultaneous learning, test design, and test execution.”

Exploratory testing is not against the idea of scripting. In some contexts, you will achieve your testing mission better through a more scripted approach; in other contexts, your mission will benefit more from the ability to create and improve tests as you execute them. I find that most situations benefit from a mix of scripted and exploratory approaches.

James Bach Exploratory Testing Explained

Page 7: Exploratory test - Making test soup on a nail

© Sogeti

The Case

•  The Project –  Small agile project – (6 including me) –  Distributed team – developers in Kuala Lumpur –  Extension to system in production

•  The System –  Web based application –  Complex capabilities for creating customized dialogues and

overviews –  Complex definitions of calculations from the GUI –  Connection to Data Warehouse

7

Page 8: Exploratory test - Making test soup on a nail

© Sogeti

The Challenge

•  Organization –  Requirements from TMO –  Product owner vs Project manager

•  Test basis –  No system specifications for existing system –  Only limited user documentation (two slides) –  A lot of user stories but no overview and limited

business perspective –  No testware for the part of the system already in production

•  The ”human challenge” –  Product owner only part time available –  Could not see the value in a tester –  Don’t waste time on documenting – that’s overhead –  Only limited access to people in the project

8

Page 9: Exploratory test - Making test soup on a nail

Challenge Accepted

Then what?

9

Page 10: Exploratory test - Making test soup on a nail

© Sogeti

Identifying the Stakeholders

10

Project manager

Product owner

Lead developer

Developers Super users

Users

Test management office (TMO)

Page 11: Exploratory test - Making test soup on a nail

© Sogeti

Requirement from TMO

•  Define and document test strategy

•  Continuous test during development

•  Creation of regression test

•  Document test in Quality Center

11

Page 12: Exploratory test - Making test soup on a nail

© Sogeti

Getting the Initial Overview

Product owner presenting the system •  Existing functionality – an overall presentation •  The new area – a more detailed presentation. •  Only verbal – no documentation

12

Page 13: Exploratory test - Making test soup on a nail

© Sogeti

From the Conversation - Initial Mind Map

13

Page 14: Exploratory test - Making test soup on a nail

© Sogeti

Getting an Overview

14

Aggregating stories to features

Page 15: Exploratory test - Making test soup on a nail

© Sogeti

Test Strategy in a page

•  Objective •  Scope

–  Product risk –  Project risk

•  Test ”levels” –  Unit test –  Unit integration test –  Test on story level –  Test in the sprint –  Regressions test

•  Tools and techniques –  Test design techniques –  Test documentation – QC

15

Page 16: Exploratory test - Making test soup on a nail

© Sogeti

Getting the Overview

•  Initial Exploration –  Started with the operational (stable) part of the application –  Getting acquainted with the concepts –  Identifying:

•  General concepts •  General problems

16

Taking lots of notes

Page 17: Exploratory test - Making test soup on a nail

© Sogeti

Result after First Exploration

17

Page 18: Exploratory test - Making test soup on a nail

© Sogeti

Getting Structured

•  A lot more exploration •  Identifying and using relevant test design techniques •  Identifying and using relevant heuristics

18

EP Classification

Trees

Proces flow Test Pair-wise

Page 19: Exploratory test - Making test soup on a nail

© Sogeti

Where to Apply?

19

Page 20: Exploratory test - Making test soup on a nail

© Sogeti

EP/BVA and Classification Trees

20

Field1 Field 2 Field 3

Field 4

Field5

Page 21: Exploratory test - Making test soup on a nail

© Sogeti

Pair-wise

21

Page 22: Exploratory test - Making test soup on a nail

© Sogeti

Process Cycle Test

•  Meeting the user •  Drawing and discussing •  Exploration in the system •  Amending the drawing •  Presenting to PO

22

Yes Yes

No No

Page 23: Exploratory test - Making test soup on a nail

© Sogeti

But Also Being Creative…

•  I wonder whether they looked at field sizes in the database when they specified field lengths?

•  Have they remembered the support for Danish letters ÆØÅ? •  You can have so many types of measurements… what if you

combine the wrong ones in the calculations (one in KG the other in Liter)

•  When you can specify reporting frequency day, week, month… what if you combine different frequencies in the summary?

•  What if the user doesn’t add columns when creating the dialogue?

•  What if the user gets interrupted and leaves for 15 minutes without saving….

•  What type of users? Do they understand English (error messages were in English)… do they understand technical English?

•  ….. Etc etc

23

Page 24: Exploratory test - Making test soup on a nail

© Sogeti 24

Page 25: Exploratory test - Making test soup on a nail

© Sogeti

Presenting the Findings

•  Showing the classification tree •  Presenting the ”bugs” •  Discussed severity and priority •  Documented in defect management tool (backlog)

25

Page 26: Exploratory test - Making test soup on a nail

© Sogeti

Supporting the Team

•  Input to test design •  Continuous testing of stories •  Clarification of stories •  Support creation of acceptance criteria •  Reproducing defects (sharing desktop) •  Verifying defect fixes

26

Page 27: Exploratory test - Making test soup on a nail

© Sogeti

How do we Make a Good Unit Integration Test?

27

Automating what was originally manual test Create a new meter with the following values… Remember negative scenarios…

Page 28: Exploratory test - Making test soup on a nail

© Sogeti

Regression Test: From Mind map to Quality Center

•  Attaching the test strategy •  From mind map to test tree •  Documenting the charter/mission •  Attaching the output of test design techniques •  NO STEPS (or only one – use the attached….)

28

Page 29: Exploratory test - Making test soup on a nail

© Sogeti

The Result

•  Maximum time doing testing minimum doing documentation

•  Thorough test of new functionality •  Regression test of existing functionality •  Creation of “regression test suite” •  Support for unit integration testing •  Clarification of user stories •  Feedback to/from product owner •  A lot of defects in both new and existing software

•  And a product owner that now saw the value in someone doing structured testing

•  Can you come back next year?

29

Page 30: Exploratory test - Making test soup on a nail

© Sogeti

What I Took With Me

•  Re-discovered the joy in doing exploratory testing •  Focus on how to combine what I know – using my tool belt •  Once again recognizing; the world is not either black or

white – there are many colors… it is all about context.

30

Page 31: Exploratory test - Making test soup on a nail

© Sogeti

Questions?

Please evaluate my presentation and use for this the AgileTD Mobile App which you can find at www.touchmyconference.com/ATD2013. I would appreciate your feedbacks. Thank you very much!

31

Page 32: Exploratory test - Making test soup on a nail

© Sogeti

A Bit About Unicorns

•  Medival and rennasiance belief: a symbol of purity and grace, which could only be captured by a virgin. In the encyclopedias its horn was said to have the power to render poisoned water potable and to heal sickness.

•  As big as a donkey, fast, wild and fierce in battle, impossible to catch alive.

•  According to Marco Polo: "scarcely smaller than elephants. They have the hair of a buffalo and feet like an elephant's. They have a single large black horn in the middle of the forehead... They have a head like a wild boar's… They spend their time by preference wallowing in mud and slime. They are very ugly brutes to look at. They are not at all such as we describe them when we relate that they let themselves be captured by virgins, but clean contrary to our notions."

32

Page 33: Exploratory test - Making test soup on a nail

© Sogeti

Unicorns – and the Danish Perspective

33

According to legend, the Throne Chair is made of the horn of unicorns