building behavior driven teams - agile3m meeting

47
BUILDING Behavior Driven Teams

Upload: karol-sojko

Post on 28-Jan-2015

104 views

Category:

Technology


0 download

DESCRIPTION

Many teams in their development process tend to focus on answering the question “how” instead of “why”. This leads to many misunderstandings which in turn decrease productivity and pleasure of working. In my presentation I waned to introduce Behavior Driven Development which is one of the ways to improve communication within a team. I will share my knowledge on how to start with BDD in your company and say a couple of words about things like StoryBDD, SpecBDD and living documentation. Taking my team as a use case I will also speak about how BDD helped us in understanding each other and making software that matters.

TRANSCRIPT

Page 1: Building Behavior Driven Teams - Agile3M Meeting

BUILDINGBehavior Driven Teams

Page 2: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

COMMONTeam Problems

Page 3: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Communication

http://www.flickr.com/photos/65339210@N02/6231641551

Page 4: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

The Wall

http://www.flickr.com/photos/83443628@N00/424729966

Page 5: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Rambo DeveloperS

Page 6: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Outdated DOCS

Page 7: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

TAIL Chasing

Page 8: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

BOOMERANGS

http://www.flickr.com/photos/protoflux/2287499188/

Page 9: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

WHAT IS BDD and what’s in it for me

Page 10: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

BDD

Story BDD Spec BDDCommunication between stakeholders Communication between classes

Internal QualityExternal Quality

Page 11: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

backlogFEATURES

SCENARIOS

Red

Green

REFACTOR

Page 12: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

backlog SCENARIOS

Red

Green

REFACTOR

FEATURES

Spec BDDSTORY BDD

Page 13: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

LIVING Documentation

Page 14: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

scenario Workshops

Feature: buying subscriptionIn order to use more minutes then on free subscription As a customer I need to be able to buy a subscription

Scenario: Successfully getting charged for subscription

Given I am a registered user When I buy a subscription Then I should be charged

Page 15: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Refine EXAMPLES

Given I am a registered user When I buy a subscription Then I should be charged

Given user “[email protected]” exists And “gold” subscription for “23.99” exists When user “[email protected]” buys “gold” subscription Then user “[email protected]” should be charged for “23.99”

Page 16: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Continuous Integration

Page 17: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

SPECIFICATIONS ARE NOT SCRIPTS

Given user “John Doe” is registered When I log in as “John Doe” And I go to the contacts page And I remove contact “Jane Doe” Then I should have “0” contacts And I should see “contact removed”

Page 18: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

INTRODUCING BDD in your company

Page 19: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

business and Development

Page 20: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

When you have a

hammer ...http://www.flickr.com/photos/m2w2/191545978/

Page 21: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Impact Mapping

Page 22: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Scenario workshops

Page 23: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Avoid buzz words

http://www.flickr.com/photos/mightyboybrian/127340990/

Page 24: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

The Batman

Page 25: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

MVP IS THE KEY

http://www.flickr.com/photos/bdesham/2432400623/

Page 26: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

DOn’t attack every angle

http://www.flickr.com/photos/64472342@N05/11755284815/

Page 27: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Measure business

values not developers

http://www.dogshaming.com/2013/12/fences-aint-got-nothing-on-houndini/

Page 28: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

USE CASEThe Comet Cult

Page 29: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

SMALLthat’s what she said TEAM

Page 30: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

4 different locations

http://www.flickr.com/photos/kevan/38944425/

Page 31: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Communication Breakdown

http://www.flickr.com/photos/alexanderino/241125926/

Page 32: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Us and them

http://www.flickr.com/photos/jimbaker/70758260/

Page 33: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

The Guesstimates

http://www.flickr.com/photos/fhwrdh/4613168626/

Page 34: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Rock Solid

http://www.flickr.com/photos/ohhsnap_me/11701204035/

Page 35: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Issue reincarnation

http://www.flickr.com/photos/somedragon2000/527470010/

Page 36: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

What to test?

http://www.flickr.com/photos/jenniferkwarren/4353806680/

Page 37: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

ACHIEVEMENT UNLOCKED

What we gained

Page 38: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Bronze badge of

understandinghttp://www.flickr.com/photos/medevac71/4063173395/

Page 39: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

silver medal for agile

introductionhttp://www.flickr.com/photos/theundersigned/2829693523/

Page 40: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Ancient SCROLL of

Domain Knowledge

http://www.flickr.com/photos/sifu_renka/4582745849/

Page 41: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Scrum to kanban

replacement spell

http://www.flickr.com/photos/fcasadei/6280907548/

Page 42: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Sacred RING of QUALITY

http://www.flickr.com/photos/the_justified_sinner/6306833061/

Page 43: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Golden key of trust

http://www.flickr.com/photos/kuw_son/286973597/

Page 44: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

CONFR done in 4

months

Page 45: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

And a VADER MUG

Page 46: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Good Reads

Page 47: Building Behavior Driven Teams - Agile3M Meeting

BUILDING BEHAVIOR DRIVEN TEAMS

Karol Sójko Space Shuttle Architect @ The Comet Cult

PHP3City & PHPers Organizer #PHP #Symfony #BDD #TDD #Agile #Team

!

email: [email protected] twitter: @karolsojko github: karolsojko !

Need training? http://thecometcult.com/workshops