Top Banner
Gáspár Nagy coach trainer bdd addict creator of specflow @gasparnagy [email protected] Everything you MUST know about agile testers HUSTEF Budapest 18/11/2015
32

Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Apr 11, 2017

Download

Software

Gáspár Nagy
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: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Gáspár Nagycoach • trainer • bdd addict • creator of specflow

@gasparnagy • [email protected]

Everything you MUST know about agile testers

HUSTEF Budapest • 18/11/2015

Page 2: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Are you an agile tester?

Page 3: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Agile testing principles

• Collaboration

• Communication

• Transparency

• Being part of the specification

• Subjective testing techniques (e.g. exploratory testing)

• Integration to the delivery team

Page 4: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Being part of the specification

Page 5: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Specify with Given/When/Then

Page 6: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Collaboration

Page 7: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Did you feel like an equal member?

Page 8: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Yes… equally unhappy

Page 9: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

revolution

Page 10: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Bug Hunting → Bug Prevention

Page 11: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Requirements vs. Tests

As formality increases, tests and requirements become indistinguishable. At the limit, tests and requirements are equivalent.

Equivalence Hypothesis (Martin, Melnik)

Pic: Martin/Melnik: Requirements and Tests

Page 12: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Specification-By-Example

Example Tests

Specifications

consist of

describe validate fulfillment

Source: Gojko Adzic – Bridging the Communication Gap

Page 13: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Team Foundation Server Version Control

TeamFoundation Server Workitems

SpecLog

Story Maps

Product Backlog

SprintBacklog

Task Board

SpecFlow ScenariosTest-auto-mation

Product

LivingDocumen-tation

Our Process

Source: TechTalk (www.techtalk.at)

Page 14: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Agile testers duringpreparation…

Page 15: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Develop test strategy

Page 16: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Decide on the automation target

…and manage the consequences

Page 17: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Agile testers during preparation…

• Develop test strategy

• Ensure / verify feasibility of the strategy• (tools, infrastructure, skills)

Page 18: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Agile testers duringplanning…

Page 19: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Finding acceptance criteria

“Imagine this story is

already implemented:

How would you verify

it?”

“I would try to put a book

into the shopping cart …”

“I would try to remove a

book from the shopping

cart…”

“I’d check whether the shopping

cart is empty, when I enter the

shop …”

Shopping cart should be

empty when entering the

shop

Source: TechTalk (www.techtalk.at)

Page 20: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Key examples: Breaking the model

Books in catalogue:

Title Author

Specification-By-Example Gojko Adzic

Impact Mapping Gojko Adzic

Explore It! Elisabeth Hendrickson

Competitive Engineering Tom Gilb

Search for … Books found …

Spec Specification-By-Example

Hend Explore It!

et Explore It!, Competitive Engineering

What happens, if I search for

“Explore Specification”?

Can I search for single

characters, e.g. “e”?

Is the number of search results

limited, or paged?

Is the search also performed in the

sub-title of a book?

Page 21: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Agile testers during planning…

• Help structuring ideas to acceptance criteria

• Find key examples

• Helps deciding if a check should be automated

• Consider edge cases

• Define exploratory testing goals

Page 22: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Agile testers duringSprint…

Page 23: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Formulate business readable tests

Aut.

Aut.

Aut.

Page 24: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Managing baseline (default) data

Page 25: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Visualize systems

Source: TechTalk (www.techtalk.at)

Page 26: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Establish build status indicators

Source: TechTalk (www.techtalk.at)

Page 27: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Agile testers during Sprint…

• Formulate business readable tests (e.g. Gherkin), • right before implementing them

• Support team with continuous verification of stories

• Build new tests from existing building blocks

• Perform AC check

• Help preparing for the demo

• Keep control of default/baseline data

• Ensure that the feedback from the tests is shown to everyone

Page 28: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Agile testers after Sprint…

• Share experience

• Help others to learn about agile testing

Page 29: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

revolution

Page 30: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Copyright © Gaspar Nagy

Give the words real meaning!

collaboration

communication

transparency

specification

agile

stake in product

give and take

useful things accessible

by examples

inspect & adapt

Page 31: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

May the test results be with you

Source: TechTalk (www.techtalk.at)

Page 32: Everything you MUST know about agile testers (HUSTEF Budapest, 18/11/2015)

Gáspár Nagycoach • trainer • bdd addict • creator of specflow

@gasparnagy • [email protected]

Thank you!