the bdd live show (ita)
DESCRIPTION
Sessione presentata all'Italian Agile Day 19 nov 2010 BDD Live Show In questa sessione simuleremo una breve sessione di BDD su un problema “reale” (una semplice applicazione da riga di comando). Durante la presentazione useremo un mix di tecnologie (tra le quali Ruby e Python), ma la sessione sarà comprensibile anche a chi non conosce questi linguaggi.TRANSCRIPT
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
The BDDLive Show
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
AgendaAgenda
➢15 min BDD in a nutshell➢30 min The BDD live show➢10 min Real-life examples➢05 min Q & A
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
BDD in a nutshell
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
Test unitaridel codice
Rivolto alla tecnologia
Q1
Test funzionali
Q2
Test diusabilità
Q3
Test sulle proprietà
Q4
Rivolto al business
Fo
nd
ato s u
l pr o
do
t toS
up
po
rto
allo
svi
lup
po
L'idea originale dell' “Agile Testing Quadrant” e' presa da Brian Marrick (www.exampler.com)
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
Rivolto al business
Su
pp
ort
o a
llo s
vilu
pp
oBDD
Il BDD opera su test di supporto allo sviluppo che
verificano aspetti di business
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
FeatureFeature
As a Returning Customer I want the system to remember my details so I can purchase goods more quickly.
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
Acceptance CriteriaAcceptance Criteria
➢Acceptance Criterion 1: Given I am logged in as returning customer, When I make a purchase, Then the system presents my details for review
➢Acceptance Criterion 2: Given I see my details as returning customer,When I want to change some details, Then I can edit the details directly
...
➢Acceptance Criterion 1: Given I am logged in as returning customer, When I make a purchase, Then the system presents my details for review
➢Acceptance Criterion 2: Given I see my details as returning customer,When I want to change some details, Then I can edit the details directly
...
As a Returning Customer I want the system to remember my details so I can purchase goods more quickly.
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
Realizzare una featureRealizzare una feature
As a Returning Customer I want the system to remember my details so I can purchase goods more quickly.
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
✔OK
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
Sicuro?Sicuro?
As a Returning Customer I want the system to remember my details so I can purchase goods more quickly.
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
Acceptance Criterion
✔OK
Acceptance Criterion
NO
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
Automatizzare i testAutomatizzare i test
Italian Agile Day 2010 - The BDD show - http://creativecommons.org/licenses/by-nc-sa/3.0
Automatizzare i testAutomatizzare i test
System under test
Cucumber steps definition
Cucumber features