Date post: | 06-May-2015 |
Category: |
Technology |
Upload: | phillip-trelford |
View: | 1,834 times |
Download: | 2 times |
BDD WITH ``TICKSPEC``Anne Marie King, James Banton, Phillip Trelford
@anniejking, @ptrelford
http://tickspec.com
2010
ENTERPRISE APPLICATIONS
AGILE MANIFESTO
Individuals and interactions over processes and tools
Working software over comprehensive documentation
Customer collaboration over contract negotiation
Responding to change over following a plan
COLLABORATION
Customers
Business AnalystTesters
Developer
USER STORIES
ACCEPTANCE TEST SCENARIO
Refunded items should be returned to stock
Given a customer buys a black jumper And I have 3 black jumpers left in stock When he returns the black jumper for a
refund Then I should have 4 black jumpers in stock
TEST DRIVEN DEVELOPMENT (TDD)
Or Specify Unit Tests First
Pros Quality Regression
Cons Developer focused
BEHAVIOUR DRIVEN DEVELOPMENT (BDD)
Or Specify System Behaviour First
Pros Business focused Quality Regression
Cons Adds layer of indirection
BDD FRAMEWORKS
Execute Specifications against Systems
BDD FRAMEWORKS
Execute Specifications against Systems
Internal DSL FsSpec FsUnit NaturalSpec
External DSL SpecFlow StorEvil TickSpec
TICKSPEC
TICKSPEC DESIGN GOALS
Platform for Innovation Low Friction Lightweight Extensible Framework
Support & Leverage F# Tick methods Modules Active Patterns
Support major test frameworks NUnit, xUnit, MbUnit Silverlight Unit Test Framework
DEMO
AGILE DEVELOPMENT
Define User Stories
Define Acceptance Tests
Code to Acceptance Tests
Confirm Acceptance Tests
WHAT NEXT?
Liz Keogh
An Introduction to BDD
Mark Crowther
Specification By Example
Dec 1st Dec 7th
Q & A: THE SLAUGHTERED LAMB