TIME MANAGEMENT TIME MANAGEMENT tick, tick, tick, tick, tick, tick….
Bdd with ``tick spec``
-
Upload
phillip-trelford -
Category
Technology
-
view
1.846 -
download
2
description
Transcript of Bdd with ``tick spec``
![Page 1: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/1.jpg)
BDD WITH ``TICKSPEC``Anne Marie King, James Banton, Phillip Trelford
@anniejking, @ptrelford
http://tickspec.com
2010
![Page 2: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/2.jpg)
ENTERPRISE APPLICATIONS
![Page 3: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/3.jpg)
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
![Page 4: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/4.jpg)
COLLABORATION
Customers
Business AnalystTesters
Developer
![Page 5: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/5.jpg)
USER STORIES
![Page 6: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/6.jpg)
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
![Page 7: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/7.jpg)
TEST DRIVEN DEVELOPMENT (TDD)
Or Specify Unit Tests First
Pros Quality Regression
Cons Developer focused
![Page 8: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/8.jpg)
BEHAVIOUR DRIVEN DEVELOPMENT (BDD)
Or Specify System Behaviour First
Pros Business focused Quality Regression
Cons Adds layer of indirection
![Page 9: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/9.jpg)
BDD FRAMEWORKS
Execute Specifications against Systems
![Page 10: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/10.jpg)
BDD FRAMEWORKS
Execute Specifications against Systems
Internal DSL FsSpec FsUnit NaturalSpec
External DSL SpecFlow StorEvil TickSpec
![Page 11: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/11.jpg)
TICKSPEC
![Page 12: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/12.jpg)
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
![Page 13: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/13.jpg)
DEMO
![Page 14: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/14.jpg)
AGILE DEVELOPMENT
Define User Stories
Define Acceptance Tests
Code to Acceptance Tests
Confirm Acceptance Tests
![Page 15: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/15.jpg)
WHAT NEXT?
Liz Keogh
An Introduction to BDD
Mark Crowther
Specification By Example
Dec 1st Dec 7th
![Page 16: Bdd with ``tick spec``](https://reader036.fdocuments.in/reader036/viewer/2022062300/55491184b4c9055d458bef06/html5/thumbnails/16.jpg)
Q & A: THE SLAUGHTERED LAMB