exploratory testing in practice, short story how approach influenced on strategy

25
© 2010 Cognifide Limited. In commercial confidence only. © 2010 Cognifide Limited. In commercial confidence only. Exploratory Tests in practice Short story about how test approach influenced on test strategy Zbyszek Moćkun, Łukasz Morawski

Upload: zbyszek-mockun

Post on 29-Jan-2015

108 views

Category:

Technology


0 download

DESCRIPTION

Presentation for Polish TestingCup Authors: Zbyszek Moćkun, Łukasz Morawski

TRANSCRIPT

Page 1: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Exploratory Tests in practice

Short story about how test approach influenced on test strategy

Zbyszek Moćkun, Łukasz Morawski

Page 2: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

What is about?

Exploratory Testing

Page 3: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Exploratory tests definition

• Approach or technique?

• What about ISTQB?

• Test techniques (boundary values, decision table, ...)

• Scripting against exploratory

„A technique is a recipe for solving a problem, whereas a style (or approach) is a way of thinking around a theme that stretches far beyond solving a particular problem”

Henrik Emilsson (Blog Thoughts From The Test Eye)

Page 4: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Exploratory approach techniques

• „The Intelectual” tour

• Landmark tour

• Money tour

• Supermodel tour

• Feature

• Complexity

• Claims

• Configuration

• User

• Testability

• Scenario

• Variability

• Interoperability

• Data

• Structure

FCC CUTS VIDS tour by Michael Kelly

Touring by James Whittaker

Page 5: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Exploratory as extension for scripting

„Having formal scripts can provide a structure to frame exploration, and exploratory methods can add an element of variation to scripts that can amplify their effectiveness.”

James Whittaker

Page 6: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

The „freedom” scale

Jon Bach, Telling your exploratory story

Where are you on this scale?

Page 7: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Cognifide journey

Exploratory Tests

Page 8: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Why?

• Requirements− Changeability− Clarification of the requirements in the development of production or

testing

• Tester – Dev cooperation− Close Dev – Tester cooperation− Start as fast as possible− Avoid miniwaterfall model− Quick feedback− CI environment − QA services− Retesting− Raising improvements (usability as example)

Page 9: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

When?

Page 10: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Improvements - part I

• Repeatable− Notes− Checklists

• Visualization (Integration with dashboard)− Requirement status− Testing activities

• Review process− No time for debrief− Cross testing (mostly for juniors)

Page 11: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Auditable?

Pharmaceutical company performed the audit− Text notes are unclear and contains mistakes/not all information− Lack of test scripts − No traceability

Test scenarios against AC Issues against AC

− No visual status of Acceptance Criteria− No JIRA integration− No regression execution history− No automation coverage

Audit went well, but showed room to improve

Page 12: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Wolf and sheep

John Rieger – wolf and sheep

Page 13: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Improvements - visualization

Page 14: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

AC state

Page 15: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Checklist: web domain

Page 16: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Heuristics

• Rule of thumb

• Test Heuristics Cheat Sheet by Quality Tree Software

Page 17: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Testing Dojo

Page 18: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Requirement review

Page 19: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Exploratory tests in steps

• Task delivered to QA (or small part of the task)• Learning phase (including documention)• Test planning (tour session)• Execute planned sessions (note, bugs, questions, AC

update)• Task rejected (back to developer)• Fixing• Retest planning (sessions, or no need)

− Retest bugs− Regression testing if needed (sessions)

• Writing test scenario based for regression purpose• Accept story

Page 20: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Session Based Test Management

• Time management

• Test planning (FCC CID VIDS tour)

• Charters

• Test status

• Debrief (PROOF concept)

• Notes

• Tools− Research existing tools− Session Tester (our own tool)− Bonfire

Page 21: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

SBTM – break the rule

• Sessions are not interrupted?− Tester - developer pairing− Continuous Integration environment− Raising bugs take several seconds

Bonfire plugin as example

• Notes− Level of details

• One session per task• Session debrief

− Lonely knight− Time pressure− Cross testing− Project audit

Page 22: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

SBTM – Bonfire (JIRA Capture)

• Session Management

• JIRA integration

• Plugin for most common browsers

Page 23: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Metrics

• Exploratory metrics againist scripting approach

• Internal against External Quality− Rejects− Bugs

• Requirement coverage− Scripts against sessions

• Sessions metrics

Page 24: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Summary

Jon Bach, Telling your exploratory story

Page 25: Exploratory testing in practice, short story how approach influenced on strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Q&A