Exploratory testing in theory and practice Jan Jaap Cannegieter - - PDF document

exploratory testing in theory and practice
SMART_READER_LITE
LIVE PREVIEW

Exploratory testing in theory and practice Jan Jaap Cannegieter - - PDF document

8-5-2019 Specialisten in vooruitgang Exploratory testing in theory and practice Jan Jaap Cannegieter Principal consultant Squerist Software testen Business Process Transformation Security testen 1 Exploratory testing in theory and practice


slide-1
SLIDE 1

8-5-2019 1

Software testen Business Process Transformation Security testen

Specialisten in vooruitgang

Exploratory testing in theory and practice

Jan Jaap Cannegieter Principal consultant Squerist

Exploratory testing in theory and practice 2

Wendbaar- heid Specialisme Mens op 1

Missie: verder brengen van mens, klant en expertise

1 2

slide-2
SLIDE 2

8-5-2019 2

Exploratory testing in theory and practice 3 (Agile) testen Test automation BI testen Test uitvoering Test advies Test management Test partnership Security Test opleidingen

Test diensten

Software testen Business Process Transformation Security testen

Specialisten in vooruitgang

Why testing?

4

3 4

slide-3
SLIDE 3

8-5-2019 3

Exploratory testing in theory and practice

Een short movie

5 Exploratory testing in theory and practice

The most expensive piece of software. Untested

declare vertical_veloc_sensor: float; horizontal_veloc_sensor: float; vertical_veloc_bias: integer; horizontal_veloc_bias: integer; ... begin declare pragma suppress(numeric_error, horizontal_veloc_bias); begin sensor_get(vertical_veloc_sensor); sensor_get(horizontal_veloc_sensor); vertical_veloc_bias := integer(vertical_veloc_sensor); horizontal_veloc_bias := integer(horizontal_veloc_sensor); ... exception when numeric_error => calculate_vertical_veloc(); when others => use_irs1(); end; end irs2;

€ 6.522.600.000

5 6

slide-4
SLIDE 4

8-5-2019 4

Exploratory testing in theory and practice

TU Delft geeft gezakte studenten een diploma

Studenten van de TU Delft die
  • nvoldoendes voor vakken hebben
gehaald hebben toch een diploma
  • gekregen. Dit komt door een
softwarefout in de systemen De fout is ontstaan door een softwarefout. Volgens de bank komt dit door een fout bij een
  • leverancier. De klanten halen massaal hun
spaargeld weg bij de bank. Dit is niet nodig, aldus een woordvoerder van de bank. “alle klanten worden schadeloosgesteld” aldus de
  • woordvoerder. , NIBC probeert al jaren een
positie op de consumentenmarkt probeert te
  • krijgen. Dit helpt daar niet bij.
Laatste update: 8 mei 2019 07:28

I want to prevent this Exploratory testing in theory and practice

Exploratory testing

10:30

7 8

slide-5
SLIDE 5

8-5-2019 5

Exploratory testing in theory and practice

Main streams in testing

Testing Scripted testing

Test management Closure Design & Specification Execution Strategy & planning

Test point

Exploratory testing

TP 3 TP 2 TP 4

Exploratory testing in theory and practice

Exploratory testing is…

10

…a style of software testing… …that emphasizes the personal freedom and responsibility of the individual tester… …to continually optimize the value of her work… …by treating test-related learning, test design, test execution, and test result interpretation as mutually supportive activities that run in parallel throughout the project.

Source: http://kaner.com/?p=46 and ‘Explore it!’ by Elisabeth Hendrickson

9 10

slide-6
SLIDE 6

8-5-2019 6

Exploratory testing in theory and practice

Essence of exploratory testing

11 11

Test point / test idea 1

Based on RST 3.0 by James Bach and Michael Bolton

TP 3 TP 2 TP 4

Exploratory testing in theory and practice

Or populair said

12

11 12

slide-7
SLIDE 7

8-5-2019 7

Exploratory testing in theory and practice

Simultanuous working

13

Learning Strategy (thinking) Execution

Exploratory testing in theory and practice

Optional discussion

What are the possible benefits of exploratory testing compared to scripted testing? What are the possible backdraws of exploratory testing compared to scripted testing? How can we structure exploratory testing to make sure we don’t do ad hoc testing without losing the benefits?

14

13 14

slide-8
SLIDE 8

8-5-2019 8

Exploratory testing in theory and practice

Possible structuring elements

Overall mission of testing List of product risks Insight in the structure of the product Determine test units Track coverage Test charters with testpoints Test design techniques Checklists ISO 25010 / 9126 Defect administration

15 Exploratory testing in theory and practice

Example test charter

16

15 16

slide-9
SLIDE 9

8-5-2019 9

Exploratory testing in theory and practice

Case PHPTravels

Go to www.phptravels.net This is a test system! Explore the hotel parts Make up a test design with

Test goals Test points 14:00 Exploratory testing in theory and practice 15:30

17 18

slide-10
SLIDE 10

8-5-2019 10

Exploratory testing in theory and practice

Session based testing

13:30 Exploratory testing in theory and practice

The need for more stucture

Exploratory testing without good guidance is like wandering around a city looking for cool tourist attractions. It helps to have a guide and to understand something about your destination. - James Whittaker

20

19 20

slide-11
SLIDE 11

8-5-2019 11

Exploratory testing in theory and practice

Session based testing

Session-based testing is a software test method that aims to combine accountability and exploratory testing to provide rapid defect discovery, creative on- the-fly test design, management control and metrics reporting

  • Wikipedia -

Based on ‘Exploratory software testing’ by James Whittaker

21

From To

Exploratory testing in theory and practice

Elements session based testing

Sessions (timebox) Mission Test charters Test points Session notes Session debrief Metrics

22

21 22

slide-12
SLIDE 12

8-5-2019 12

Exploratory testing in theory and practice

Session

Timebox 60 min. – 90 min. – 120 min.

Short enough to report in detail Short enough to plan it easily Long enough to test in depth Long enough to debrief effectively Don’t make a detail planning of the session

Eventually pair testing

Tester – tester Tester – product owner Tester – user Tester – developer 23 Exploratory testing in theory and practice

Test mission

Representation of the goal of the test session Risk based Defined scope

My mission is to test <<the risk you want to cover>> for <<the scope/depth/coverage>>

24

23 24

slide-13
SLIDE 13

8-5-2019 13

Exploratory testing in theory and practice

Test charter

Also named a session sheet Information of the test item Mission Test points Information about the test execusion (optional) Defects (or references to the defects in the tool) New test charters or new test points

25

See example

Exploratory testing in theory and practice

Session notes / session ideas

Things you want to know Things you don’t want to miss Things you want to test ≈ logical test cases A good test point starts with a verb

26

25 26

slide-14
SLIDE 14

8-5-2019 14

Exploratory testing in theory and practice

Session notes

What did I test? What didn’t I test? Why did I test it? How did I test it? With which coverage and depth did I test it? Which test data did I use? On which environment did I test? What have I found out? What defects did I find? What more should I test?

27 Exploratory testing in theory and practice

Possible follow up items

Defects Questions Possible new charters Possible new points Tests that should be automated Tests that should be documented Instructions for the next time this charter will be executed

28

27 28

slide-15
SLIDE 15

8-5-2019 15

Exploratory testing in theory and practice

Session debrief

29

Test session

Techniques Risks Mission Coverage Environment Status Obstacles Defects Exploratory testing in theory and practice

Important skill of an exploratory tester

Focus - defocus

Based on RST 3.0 by James Bach and Michael Bolton 30

29 30

slide-16
SLIDE 16

8-5-2019 16

Exploratory testing in theory and practice

It is finding the balance between

Discipline - freedom

31 Exploratory testing in theory and practice

Choosing the right way to test

16:00

31 32

slide-17
SLIDE 17

8-5-2019 17

Exploratory testing in theory and practice 33

Situational testing bingo

Category Situation Scripted testing Exploratory testing System Calculations User interface oriented system Backend oriented system Mobile app Test goals Checking a set of req. / regulation Value based testing Usability Business rules testing Performance Automated checking Security Organization Planning and preperation oriented Young, modern startup Hierarchical, traditional organisation Self management, resp. low in org. Exploratory testing in theory and practice Category Situation Scripted testing Exploratory testing Documentation A lot and detailed documentation Little documentation Constantly changing doc./req. System Waterval Agile Budget A lot of budget Little budget Time Early involved Late involved A lot of time available Little time available Test skills Analytical, accurate testers Critical thinking (question everything) Flexible Professional testers Non-professional testers 34

33 34

slide-18
SLIDE 18

8-5-2019 18

Exploratory testing in theory and practice 35

Testing is exploration and experimentation Who doesn’t like that?

In case you are interested in a career in QA or testing, please contact me. All the best with your studies

35