experiences with semi-scripted exploratory testing

62
Experiences with Semi-scripted Exploratory Testing Simon Morley Agile Testing Days 2011 15 Nov 2011

Upload: simon-morley

Post on 28-Nov-2014

684 views

Category:

Technology


0 download

DESCRIPTION

Presentation for talk at Agile Testing Days 2011, 15 November, Potsdam, Germany

TRANSCRIPT

Page 1: Experiences with Semi-Scripted Exploratory Testing

Experiences with Semi-scripted Exploratory Testing

Simon Morley

Agile Testing Days 201115 Nov 2011

Page 2: Experiences with Semi-Scripted Exploratory Testing

About

Me I work as a Test Coordinator with many

different teams and testers. I jump in as a team leader from time to time And even do some testing!

Context Multimedia IP networks To “telecom grade”

Page 3: Experiences with Semi-Scripted Exploratory Testing

Overview

Preamble... Case story

Background / Problem Description

Approaches

Observations & Lessons

Page 4: Experiences with Semi-Scripted Exploratory Testing

Preamble

My usage of...

Scripted Exploratory Semi-Scripted

Page 5: Experiences with Semi-Scripted Exploratory Testing

Semi-Scripted & Exploratory?

Page 6: Experiences with Semi-Scripted Exploratory Testing

What?

Experiences with Combining the following approaches

Scripted Testing Scripted Testing vs Scripted Execution

Exploratory Testing

Page 7: Experiences with Semi-Scripted Exploratory Testing

Scripted Execution vs Scripted Testing?

Page 8: Experiences with Semi-Scripted Exploratory Testing

Another Example: Login to PC

Step1: Enter User-name Step2: Enter Password

What if password has expired? What if it was a guest account (no password)?

Result: Successfully logged-in

Page 9: Experiences with Semi-Scripted Exploratory Testing

Semi-Scripted?

“Walking in the woods” Using some pre-defined set-up as an enabler to an

exploratory session

The pre-defined set-up should not exclude observation and feedback.

Walking with someone else is valuable

Page 10: Experiences with Semi-Scripted Exploratory Testing
Page 11: Experiences with Semi-Scripted Exploratory Testing

Why “Walking in the woods” Seasons change → set-up/config changes

Repeating walks can actually help reveal new information (due to conditions changing)

Terrain changes → systems “change” due to use

Prolonged usage of systems build up different problems/conditions “under the surface”

Page 12: Experiences with Semi-Scripted Exploratory Testing

Case Story

Background Feature Walkthroughs Test Ideas & Feasibility Test Execution Some Success Indicators Challenges and Lessons

Page 13: Experiences with Semi-Scripted Exploratory Testing

Background

Page 14: Experiences with Semi-Scripted Exploratory Testing

Experience Context Background factors – challenging... Short deadline Trial Feature

Complex Environment

Traditional Approach

Page 15: Experiences with Semi-Scripted Exploratory Testing

Environment

NENE(SUT)

SimNE

NE

NE NE

SimNE

SimNE

SimNE

Unchanged

Changed

Page 16: Experiences with Semi-Scripted Exploratory Testing

Result?

Page 17: Experiences with Semi-Scripted Exploratory Testing

Additional terms of reference

Catch-up effort Gather information for feature assessment

“Free hand”

Possibilities...

Page 18: Experiences with Semi-Scripted Exploratory Testing

Approach Possibilities

Page 19: Experiences with Semi-Scripted Exploratory Testing

Initial Feature Analysis

Page 20: Experiences with Semi-Scripted Exploratory Testing

Feature Walkthrough

Page 21: Experiences with Semi-Scripted Exploratory Testing

Test Feasibility

Page 22: Experiences with Semi-Scripted Exploratory Testing

Learning

Page 23: Experiences with Semi-Scripted Exploratory Testing

Feature Walkthrough All were 'up to speed' before the discussion

All the team plus external experience

Discussion – Q&A - Brainstorming

Whiteboard is centre-stage

Good toolsmiths make a difference!

Page 24: Experiences with Semi-Scripted Exploratory Testing

Feature Walkthrough → Brainstorming for risks

Page 25: Experiences with Semi-Scripted Exploratory Testing

Brainstorming #1

Page 26: Experiences with Semi-Scripted Exploratory Testing

Brainstorming #2

Page 27: Experiences with Semi-Scripted Exploratory Testing

First real testing of the feature!

Page 28: Experiences with Semi-Scripted Exploratory Testing

Test Ideas

Page 29: Experiences with Semi-Scripted Exploratory Testing

Test Ideas → Test Feasibility

Page 30: Experiences with Semi-Scripted Exploratory Testing

Learnings

Gather the right peopleto look at the problem.

Allow time for reflection.

Page 31: Experiences with Semi-Scripted Exploratory Testing

Estimation Notes

Main estimation figures were:

Who was needed and for how long

Equipment need & availability (feedback)

Estimation was not based on test case ideas

Page 32: Experiences with Semi-Scripted Exploratory Testing

Test Execution

Page 33: Experiences with Semi-Scripted Exploratory Testing

Semi-Scripted?

Sameinput

Sameinput

ConfigChanges

ProvisionedDataChanges

NENE(SUT)

SimNE

NE

NE NE

SimNE

SimNE

SimNE

Page 34: Experiences with Semi-Scripted Exploratory Testing

Test Execution

Page 35: Experiences with Semi-Scripted Exploratory Testing

Test Execution

Page 36: Experiences with Semi-Scripted Exploratory Testing

Test Execution

Page 37: Experiences with Semi-Scripted Exploratory Testing

Test Execution

Page 38: Experiences with Semi-Scripted Exploratory Testing

Test Execution

Page 39: Experiences with Semi-Scripted Exploratory Testing

No “test idea constraints”

linked with tester thinking & reflection

from execution

feeds back into better test ideas.

Page 40: Experiences with Semi-Scripted Exploratory Testing

When you're not interested in numbers

Then testers are no longer interested in talking about

them!

Page 41: Experiences with Semi-Scripted Exploratory Testing

Results from execution

Found issues not found elsewhere

Results used to declare better information on the feature when going to trial

Start of change in mindset

Page 42: Experiences with Semi-Scripted Exploratory Testing

Some Success Indicators

Page 43: Experiences with Semi-Scripted Exploratory Testing

A Success Indicator...

A test report changes from

“Run X test cases, where Y failed and Z passed”

And becomes more like..

Page 44: Experiences with Semi-Scripted Exploratory Testing

“Feature A tested, there are some interaction issues with feature B and, by implication, risks for features C and D.

We have not explicitly tested feature C.

Recommend some further investigation with feature A in combination with features B and C.

As feature D is not to be used in trial a priority decision is needed on the inclusion of D into scope.

If feature D is to be put into general usage then further test and investigation is recommended.”

Page 45: Experiences with Semi-Scripted Exploratory Testing

Pilot activity spread to end-2-end teams with

greater engagement and end-value appreciation.

Issues in the product for end-user usage & interactions are found → adding value to the product reporting

Page 46: Experiences with Semi-Scripted Exploratory Testing

Observation & Analysis

Page 47: Experiences with Semi-Scripted Exploratory Testing

What's happening here?

Testing has been framed as an investigative activity!

Scripting is re-framed as a toolrather than a goal for testing!

Page 48: Experiences with Semi-Scripted Exploratory Testing

Note on labels The testing was never labelled as one form or another

The frames in which it was presented/discussed changed

Questions to trigger the activity changed

Move away from valuing test cases

Move to relate the value in PO terms

Page 49: Experiences with Semi-Scripted Exploratory Testing

Sometimes labels get in the way!

Framing a choice differently → transition!

Page 50: Experiences with Semi-Scripted Exploratory Testing

Change? How?

This is a transition rather than a big bang change. Why? Adaptive, small steps, fail fast & improve!

Time was key – pull the team in a direction, but allow them to see that the benefit from the change → then they control the speed of change and so it happens quicker!

The team is challenged to think about the activity – and with the right support & encouragement they generally do think more!

Page 51: Experiences with Semi-Scripted Exploratory Testing

Factors particular to this case

“Free hand”

No expectation on change of mindset

First pilot was in a separated test team.

Page 52: Experiences with Semi-Scripted Exploratory Testing

To some external observers...

Maybe not so much different

A product with some level of testing is delivered

But, from the team perspective

The value of the testing and ideas was debated & discussed early

All in the team & PO value this earlier feedback

Ideas formed, tried out, re-evaluated

Page 53: Experiences with Semi-Scripted Exploratory Testing

Challenges Getting past test case counting

Relating value in test ideas to end-user value

Working with good test story telling is important

Whole team involved in initial analysis

Prototype early – good toolsmiths are important

Page 54: Experiences with Semi-Scripted Exploratory Testing

Recap Big Challenges

Used the challenges as a means to start the transition

Part of transition was enabled by using scripting as an enabler

But also to trigger thinking / questioning mindset → throughout (workshop->test analysis/feasibility->execution)

Page 55: Experiences with Semi-Scripted Exploratory Testing

Lessons

Page 56: Experiences with Semi-Scripted Exploratory Testing

Lessons #1

Feature Walkthrough: First real testing of the feature happens early Gather the right people to look at the problem. Allow time for reflection.

Test Ideas: No “test idea constraints”. Scripts are an enabler not the goal.

Page 57: Experiences with Semi-Scripted Exploratory Testing

Lessons #2

Execution No “test idea constraints” linked with tester

thinking & reflection from execution feeds back into better test ideas.

When you're not interested in numbers then, then testers are no longer interested in talking about them!

Page 58: Experiences with Semi-Scripted Exploratory Testing

Lessons #3 General

Challenge the team (testers) to think and they generally will think!

Allow the team to see the benefits of change (transition) – then they will begin to drive the speed of change.

Frame testing differently Frame scripts as tools and enablers rather than

fountains of knowledge!

Page 59: Experiences with Semi-Scripted Exploratory Testing

Lesson #4 It takes practice to get your testing experience from:

To:

Page 60: Experiences with Semi-Scripted Exploratory Testing

Questions?

Page 61: Experiences with Semi-Scripted Exploratory Testing

Blog: http://testers-headache.blogspot.com

Twitter: @YorkyAbroad

Thank You!

Page 62: Experiences with Semi-Scripted Exploratory Testing

Attributions http://www.flickr.com/photos/kalavinka/

http://www.flickr.com/photos/kalavinka/4617897952/

http://www.flickr.com/photos/tesla314/2666463779/

http://www.flickr.com/photos/txmx-2/6054712319/

http://www.flickr.com/photos/28385889@N07/3058090229/in/photostream/

http://www.flickr.com/photos/somegeekintn/3810233454/

http://www.flickr.com/photos/sashomasho/260136080/