making team flow and progress business readable€¦ · •started practicing bdd in 2009...

30
COPYRIGHT 2011, TECHTALK - WWW.TECHTALK.AT Agile 2011 Salt Lake City, 10 th of August 2011 Making Team Flow and Progress Business Readable CHRISTIAN HASSA [email protected], @chr99ha

Upload: others

Post on 07-Jun-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

COPYRIGHT 2011, TECHTALK - WWW.TECHTALK.AT

Agile 2011 Salt Lake City, 10th of August 2011

Making Team Flow and Progress Business Readable

CHRISTIAN HASSA [email protected], @chr99ha

Page 2: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

2

My context of work

• Project contract development and agile consulting (50+ people)

• Started practicing BDD in 2009

•Initiated SpecFlow BDD for .NET

•SpecLog Gherkin based living documentation systems

www.specflow.org

www.speclog.net

Page 3: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

3

Our BDD cycle vision

Product

Backlog

Epic

User Story

Epic

User Story

User Story

User Story

User Story

desired

effects Roadmap

derive scope from goals

Sprint

Backlog

US

US

US

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

UI Scribbles as key examples

Acceptance Criteria as key examples

illustrate using examples

Given

When

Then

Au

tom

atio

n

{ … }

{ … }

{ … }

refine the specification

executable specification

F

F F

F F F

F F

AC

AC

AC

AC

AC

living documentation

Features “done”

merge when

accepted

validate continuously

automate without changing the specification

Current

sprint

AC

US

AC

AC

AC

US

AC

AC

AC

US

AC

AC

possible next product increments

red-green-refactor, ATDD

story

maps

Page 4: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

4

Deriving scope from goals vision

Product

Backlog

Epic

User Story

Epic

User Story

User Story

User Story

User Story

desired

effects Roadmap

derive scope from goals

Sprint

Backlog

US

US

US

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

UI Scribbles as key examples

Acceptance Criteria as key examples

illustrate using examples

Given

When

Then

Au

tom

atio

n

{ … }

{ … }

{ … }

refine the specification

executable specification

F

F F

F F F

F F

AC

AC

AC

AC

AC

living documentation

Features “done”

merge when

accepted

validate continuously

automate without changing the specification

Current

sprint

AC

US

AC

AC

AC

US

AC

AC

AC

US

AC

AC

possible next product increments

red-green-refactor, ATDD

story

maps

Page 5: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

5

Mapping our product backlog

Page 6: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

6

Documenting completed user stories vision

Product

Backlog

Epic

User Story

Epic

User Story

User Story

User Story

User Story

desired

effects Roadmap

derive scope from goals

Sprint

Backlog

US

US

US

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

UI Scribbles as key examples

Acceptance Criteria as key examples

illustrate using examples

Given

When

Then

Au

tom

atio

n

{ … }

{ … }

{ … }

refine the specification

executable specification

F

F F

F F F

F F

AC

AC

AC

AC

AC

living documentation

Features “done”

merge when

accepted

validate continuously

automate without changing the specification

Current

sprint

AC

US

AC

AC

AC

US

AC

AC

AC

US

AC

AC

possible next product increments

red-green-refactor, ATDD

story

maps

Page 7: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

7

Maps of living documentation

Page 8: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

8

Guarded with automation

Page 9: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

9

Implementation flow vision

Product

Backlog

Epic

User Story

Epic

User Story

User Story

User Story

User Story

desired

effects Roadmap

derive scope from goals

Sprint

Backlog

US

US

US

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

Acceptance

Criteria

UI Scribbles as key examples

Acceptance Criteria as key examples

illustrate using examples

Given

When

Then

Au

tom

atio

n

{ … }

{ … }

{ … }

refine the specification

executable specification

F

F F

F F F

F F

AC

AC

AC

AC

AC

living documentation

Features “done”

merge when

accepted

validate continuously

automate without changing the specification

Current

sprint

AC

US

AC

AC

AC

US

AC

AC

AC

US

AC

AC

possible next product increments

red-green-refactor, ATDD

story

maps

Page 10: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

10

Collecting key examples

Lo-fi UI scribbles

Sample data

Existing artifacts Samples

Business rules

Page 11: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

11

Deriving intentions from examples

Collecting examples and deriving intentions requires collaboration

between the „three amigos“

Page 12: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

13

Formalizing scenarios (AC)

scenarios = abstract acceptance criteria illustrated with examples (AC)

Page 13: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

14

Tasks are not business readable

Create bookings for a fixed time loop on

Page 14: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

15

… but scenarios (AC) are

Page 15: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

16

Transparency for stakeholders

In Progress

Page 16: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

17

Current sprint report: all sprint scenarios

Page 17: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

18

Starting with first scenario (AC)

Page 18: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

19

Finishing the first scenario (AC)

Page 19: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

20

Progressing scenario after scenario

Page 20: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

21

Progressing scenario after scenario

Page 21: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

22

Progressing scenario after scenario

Page 22: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

23

Implementing user stories in parallel

Page 23: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

24

First user story ready for testing

Page 24: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

25

Testing can start even earlier

Page 25: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

26

Already done work can break again

Page 26: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

27

Already done work can break again

Page 27: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

28

See what is temporarily not working

Page 28: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

29

Lessons learned

Track progress of scenarios accessible for all project stakeholders

•builds trust: know what’s going on

•shows what’s ready to test: completed, temporarily not working

•helps involving business into BDD cycle

Page 29: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

30

Lessons learned Align tasks with scenarios task planning after formalization of scenarios

• helps team with task planning (some teams even drop task planning)

• helps team limiting WIP on scenario level (not just user story level)

• yields earlier testable user stories (partial finished, prioritized scenarios)

Page 30: Making Team Flow and Progress Business Readable€¦ · •Started practicing BDD in 2009 •Initiated SpecFlow BDD for .NET •SpecLog Gherkin based living documentation systems

COPYRIGHT 2011, TECHTALK - WWW.TECHTALK.AT

Contact for more info CHRISTIAN HASSA

EMAIL: [email protected]

TWITTER: @CHR99HA

CUCUMBER/GHERKIN TOOLS:

WWW.SPECFLOW.ORG

WWW.SPECLOG.NET

WWW.CUKES.INFO