Top Banner
Leiden Singapore Minneapolis Edinburgh Best of both worlds By: Derk-Jan de Grood Date: November 2008 Location: EuroSTAR Exploratory testing in a structured way
34

Derk jan de Grood - ET, Best of Both Worlds

Jul 21, 2015

Download

Software

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Derk jan de Grood - ET, Best of Both Worlds

Leiden Singapore Minneapolis Edinburgh

Best of both worlds

By: Derk-Jan de Grood

Date: November 2008

Location: EuroSTAR

Exploratory testing in a structured way

Page 2: Derk jan de Grood - ET, Best of Both Worlds

www.collis.nl 2

Objectives for this presentation

Some basic principles of exploratory and structured testing

Insight in the way different approaches can benefit from each other

Answer to the question ‘Why should I ?’

Page 3: Derk jan de Grood - ET, Best of Both Worlds

Mail exchange

DJ: I got the idea, also during discussion with John Bach, that in the US a lot of Exploratory testing is done as a separate thing. Thus, although structured it is not embedded in a test method. Do you disagree?

Lee: Depends on the organization – some see it as two different approaches (even done by different people). With others ET is very integrated. It’s difficult to generalize.

www.collis.nl 3

Page 4: Derk jan de Grood - ET, Best of Both Worlds

Regional differences ?

www.collis.nl 4

Administrative systemsProcedural testing

ProductsTechnical testing

Page 5: Derk jan de Grood - ET, Best of Both Worlds

5

Schools of testingAnalytic School Aka Structural testing Code coverage Verification

Standard School Sees testing as a way to

measure progress with emphasison cost and repeatable standards

Make sure each requirement is tested

Quality School Emphasizes process and acts as

Gatekeeper Protect users from bad software Testing is a stepping stone to process

improvement

Context-Driven School Emphasizes people,

seeking bugs that stakeholders care about

Exploratory testing Commercial market driven

software

Agile School Uses testing to prove that

development is complete; emphasizes automated testing

Test Driven development

[Pettichord 2007]

Page 6: Derk jan de Grood - ET, Best of Both Worlds

6

Which school would you apply ?

Which school would apply for testing :

Auto-pilot system for airplane (analytical) SAP system (standard) Website supporting a campaign (context) Innovative system (agile) Mobile phone (standard?) Off-shore build system (quality?) No specs available (context or agile) Game (context)

Page 7: Derk jan de Grood - ET, Best of Both Worlds

Result-driventesting

7

Schools of testing

Analytic Standard

Quality

Context

Agile

[Pettichord 2007]

Page 8: Derk jan de Grood - ET, Best of Both Worlds

8

N-dimensions

Page 9: Derk jan de Grood - ET, Best of Both Worlds

3 approaches for testing

Unstructured Scripted Exploratory

www.collis.nl 9

Page 10: Derk jan de Grood - ET, Best of Both Worlds

www.collis.nl 10

Exploratory Testing

Page 11: Derk jan de Grood - ET, Best of Both Worlds

Scripted vs. Exploratory

www.collis.nl 11

100 % Exploratory 100 % Scripted

Page 12: Derk jan de Grood - ET, Best of Both Worlds

12

What is Exploratory Testing?

An approach for unscripted testing based upon skills and experience of the tester. ET is a risk based technique using a formal procedure, test charters and heuristics.

The no 1. excuse for not having to prepare our test design in full detail: We do exploratory testing !

“Exploratory testing is simultaneous learning, test design, and test execution.”James Bach

Page 13: Derk jan de Grood - ET, Best of Both Worlds

Real live situation

A Colleague said:“The specs are outdated and incomplete. There is a need for manual regression scripts. In preparation phase our test scripts only contains the basic info (test purposes). During execution we write down the details”

www.collis.nl 13

Exploratory testing or not?

Page 14: Derk jan de Grood - ET, Best of Both Worlds

www.collis.nl 14

A test design technique

Page 15: Derk jan de Grood - ET, Best of Both Worlds

15

Traditional techniques

Error in the s/wCoverage of the testdesign

Error that remains undiscovered

Error found with used techniques

Page 16: Derk jan de Grood - ET, Best of Both Worlds

16

ET

Error in the s/wCoverage of the testdesign

1. Points of Interest (POI)

2. First tests executed

3. Plan next step based upon test results

4. Define new POI

5. Cont. with next POI

6. Conclusion thus finished !

Page 17: Derk jan de Grood - ET, Best of Both Worlds

Process and charters

www.collis.nl 17

Page 18: Derk jan de Grood - ET, Best of Both Worlds

www.collis.nl 18

Best of both worlds

Page 19: Derk jan de Grood - ET, Best of Both Worlds

19

Test plan

Page 20: Derk jan de Grood - ET, Best of Both Worlds

Test strategy

www.collis.nl 20

Page 21: Derk jan de Grood - ET, Best of Both Worlds

21

Building our test design

Syntax

PCT

BVA

EP

Exploratory

“the puzzle changes the puzzling.”James Bach

Page 22: Derk jan de Grood - ET, Best of Both Worlds

22

ET fits y/n ?

Y Rapid feedback

Extension to scripted tests

Find most important bug in shortest time

Check work of other tester

Little or no specifications

Domain knowledge available

N Feedback loop breaks down

Detailed calculations

(life) Critical functions

Testing of reliability/performance

Test ware is important

Testers are less skilled

Sourc

e: I

SEB P

ract

itio

ner

– I

mpro

ve Q

S

Page 23: Derk jan de Grood - ET, Best of Both Worlds

Test Risk Analysis

www.collis.nl 23

Page 24: Derk jan de Grood - ET, Best of Both Worlds

Traceability

www.collis.nl 24

Page 25: Derk jan de Grood - ET, Best of Both Worlds

Registration

www.collis.nl 25

Test charter 123

Page 26: Derk jan de Grood - ET, Best of Both Worlds

Test reporting

www.collis.nl 26

Page 27: Derk jan de Grood - ET, Best of Both Worlds

Befit based reporting

www.collis.nl 27

Page 28: Derk jan de Grood - ET, Best of Both Worlds

Progress reporting

www.collis.nl 28

Page 29: Derk jan de Grood - ET, Best of Both Worlds

www.collis.nl 29

Why should I ?

Page 30: Derk jan de Grood - ET, Best of Both Worlds

30

EvaluationThe ET session gave us clear understanding of the quality of the system. This was achieved in a very short period.

The fun about ET is that its fundamentals are easily understood.

Jaap Azier (KPN)

In order to use ET effectively we need to take the lessons learned into account. In special the logging and scenario testing.

Still I am glad we did ET. It enabled other people to get insight in the quality of the system.

Carin Smits (KPN)

Exploratory testing is testing on the edge.ET means taking the most out of people, this implies your dealing with people issues.It is exciting to find the edge of ‘we have tested all the essential’.

Hugo Achthoven Implementation Manager (KPN)

The project went well, great team working. Together we worked towards the best working method. In the end, we certainly have found it. This resulted in clear and traceable test results.

Jasper OvergaauwTestexpert (Collis)

Close collaboration between users and test expert provided a judgement on the quality of the system, in a only short term.

Matthijs JorissenTestexpert (Sogeti)

Page 31: Derk jan de Grood - ET, Best of Both Worlds

Focus on result

www.collis.nl 31

Page 32: Derk jan de Grood - ET, Best of Both Worlds

Exploratory Testing

A nice extension of your tool-box

Don’t let your message get blurred

www.collis.nl 32

Page 33: Derk jan de Grood - ET, Best of Both Worlds

www.collis.nl 33

Wrap-up

Page 34: Derk jan de Grood - ET, Best of Both Worlds

www.collis.nl 34

Questions?

Derk-Jan de [email protected]

CollisDe Heijderweg 1 2314 XZ LeidenThe Netherlands

www.testgoal.com

Leiden Singapore Minneapolis Edinburgh