SlideShare una empresa de Scribd logo
1 de 12
BDD i wymagania w Agile
Wiktor Żołnowski
http://blog.testowka.pl  
http://fb.com/innypunktwidzenianajakosc   
Twitter: @streser
Pragmatic Coders
http://pragmaticcoders.com
http://fb.com/pragmaticcoders
@pragmaticcoders
@streser
As a <User>
I want <some action>
So <Goal> 
As a user
I want to log in into application
So I will be logged in
In order to <business goal>
As a <stakeholder>
I want <visible change in system>
Wymagania
@streser
Coaching?
G oal
R eality
O pportunities
W ork
@streser
Bo chodzi o to by usuwać wymagania, 
które są bez sensu...
https://leanpub.com/agile­transformacje 
@streser
Specyfikacja Funkcjonalna
// given
Kontekst – co jest potrzebne by wykonać testowaną
funkcję?
// when
Wykonanie testowanej funkcjj/właściwości aplikacji
// then
Asercje – oczekiwane zachowanie systemu
@streser
Co może pójść źle?
// given
Open login page
// when
Type login
Type password
Click login button
// then
Assert that main page is open
Assert that login page is not open
Assert that menu is clickable
Assert that <a href=”/logout”> is visible
@streser
Specyfikacja
// given
Start application (?)
// when
User log in with correct credentials
// then
User should be logged in
@streser
Specyfikacja jest opisem funkcji 
systemu
// given
Start application
Log in as user with admin role assigned
Navigate to admin panel
// when
Add new admin user
// then
New user should be visible in the system
Should be possible to log in as new user
New user has access to admin functions
@streser
Specyfikacj może być poparta przykładami
// given
Bank account A with balance equals <balance A>
Bank account B with balance equals <balance B>
// when
Transfer <amount> from account A to account B
// then
New account A balance should equals <new A balance>
New account B balance should equals <new B balance>
<error> should be thrown
Examples:
|balance A | balance B | amount | new A balance | new B balance| error |
|100 | 100 | 100 | 0 | 200 | No errors |
|100 | 0 | 100 | 0 | 100 | No errors |
|100 | 100 | 0 | 100 | 100 | No errors |
|100 | 100 | 100 | 0 | 200 | No errors |
|0 | 100 | 100 | 0 | 100 | No money error |
Trzy aspekty BDD i Wymagań w Agile
Requirements: 
What the stakeholders require? 
Functional Specification:
What the product will do to meet the requirements?
Technical Specification:
How the product will provide the functionality? 
Requirements => User Stories
Functional Specification => Examples, Acceptance Tests, 
Given/When/Then
Technical Specification => Unit Tests, Functional Tests, 
Integration Tests, Page Objects
@streser
@streser
Cynefin
Simple
Complicated
Complex
Chaotic
Disorder
1. Wszyscy wiedzą jak to 
działa
2. Jest przynajmniej kilka 
osób, które wiedzą jak to 
działa
3. Jest jedna/dwie osoby, 
które wiedzą jak to działa
4. Ktoś, gdzieś na świecie 
już to zrobił, ale my nie 
wiemy jak
5. Nikt, nigdy jeszcze tego 
nie dokonał
B
D
D
E
xperim
ents
M
onitoring
BDD – u mnie NIE działa!
https://cognitive­edge.com/library/more/articles/
http://lizkeogh.com/2013/07/21/estimating­complexity/ 
Pytania
Wiktor Żołnowski
http://blog.testowka.pl  
http://fb.com/innypunktwidzenianajakosc   
Twitter: @streser
wiktor.zolnowski@pragmaticcoders.com
http://pragmaticcoders.com
http://fb.com/pragmaticcoders
@pragmaticcoders

Más contenido relacionado

Destacado

Bogna Majchrzak, Magda Traciłowska - Tester jako strażnik jakości oprogramowania
Bogna Majchrzak, Magda Traciłowska - Tester jako strażnik jakości oprogramowaniaBogna Majchrzak, Magda Traciłowska - Tester jako strażnik jakości oprogramowania
Bogna Majchrzak, Magda Traciłowska - Tester jako strażnik jakości oprogramowania
Geek Girls Carrots Poznan
 
Scrum and Kanban are not enough - Agile Slovenia 2013
Scrum and Kanban are not enough - Agile Slovenia 2013Scrum and Kanban are not enough - Agile Slovenia 2013
Scrum and Kanban are not enough - Agile Slovenia 2013
Wiktor Żołnowski
 

Destacado (16)

Bogna Majchrzak, Magda Traciłowska - Tester jako strażnik jakości oprogramowania
Bogna Majchrzak, Magda Traciłowska - Tester jako strażnik jakości oprogramowaniaBogna Majchrzak, Magda Traciłowska - Tester jako strażnik jakości oprogramowania
Bogna Majchrzak, Magda Traciłowska - Tester jako strażnik jakości oprogramowania
 
selenium grid & docker
selenium grid & dockerselenium grid & docker
selenium grid & docker
 
Monika Braun - "Tester i frameworki agilowe - rola testera w różnych metodyka...
Monika Braun - "Tester i frameworki agilowe - rola testera w różnych metodyka...Monika Braun - "Tester i frameworki agilowe - rola testera w różnych metodyka...
Monika Braun - "Tester i frameworki agilowe - rola testera w różnych metodyka...
 
Artur Górski - How many defects are left
Artur Górski - How many defects are leftArtur Górski - How many defects are left
Artur Górski - How many defects are left
 
Scrum and Kanban are not enough - Agile Slovenia 2013
Scrum and Kanban are not enough - Agile Slovenia 2013Scrum and Kanban are not enough - Agile Slovenia 2013
Scrum and Kanban are not enough - Agile Slovenia 2013
 
Let's tests! Prezentacja Moniki Braun w trakcie warsztatów "Let's go to IT"
Let's tests! Prezentacja Moniki Braun w trakcie warsztatów "Let's go to IT"Let's tests! Prezentacja Moniki Braun w trakcie warsztatów "Let's go to IT"
Let's tests! Prezentacja Moniki Braun w trakcie warsztatów "Let's go to IT"
 
BDD and Agile Requirements (v 2.1)
BDD and Agile Requirements (v 2.1) BDD and Agile Requirements (v 2.1)
BDD and Agile Requirements (v 2.1)
 
Agileee 2012
Agileee 2012Agileee 2012
Agileee 2012
 
KraQA #22, Filip Cynarski - Selenium Grid w chmurze Amazon Web Services
KraQA #22, Filip Cynarski -  Selenium Grid w chmurze Amazon Web ServicesKraQA #22, Filip Cynarski -  Selenium Grid w chmurze Amazon Web Services
KraQA #22, Filip Cynarski - Selenium Grid w chmurze Amazon Web Services
 
Interoperability Testing
Interoperability TestingInteroperability Testing
Interoperability Testing
 
People are awesome - ALE 2014
People are awesome - ALE 2014People are awesome - ALE 2014
People are awesome - ALE 2014
 
Bdd and Agile Requirements
Bdd and Agile RequirementsBdd and Agile Requirements
Bdd and Agile Requirements
 
TestowanieIoT2016
TestowanieIoT2016TestowanieIoT2016
TestowanieIoT2016
 
Strategie automatyzacji testow
Strategie automatyzacji testowStrategie automatyzacji testow
Strategie automatyzacji testow
 
Few Questions about Continuous Delivery
Few Questions about Continuous DeliveryFew Questions about Continuous Delivery
Few Questions about Continuous Delivery
 
Reversed Tests Pyramid - Agile Prague 2014
Reversed Tests Pyramid - Agile Prague 2014Reversed Tests Pyramid - Agile Prague 2014
Reversed Tests Pyramid - Agile Prague 2014
 

Similar a Bdd and Agile Requirements Boiling Frogs 2016

Similar a Bdd and Agile Requirements Boiling Frogs 2016 (11)

Custom policies w Azure AD B2C jak je tworzyć, żeby nie zwariować?
Custom policies w Azure AD B2C jak je tworzyć, żeby nie zwariować?Custom policies w Azure AD B2C jak je tworzyć, żeby nie zwariować?
Custom policies w Azure AD B2C jak je tworzyć, żeby nie zwariować?
 
Girls in It - Front-end & Back-end. Jak zacząć
Girls in It - Front-end & Back-end. Jak zacząćGirls in It - Front-end & Back-end. Jak zacząć
Girls in It - Front-end & Back-end. Jak zacząć
 
Analiza wpływu_TestingCup 2016
Analiza wpływu_TestingCup 2016Analiza wpływu_TestingCup 2016
Analiza wpływu_TestingCup 2016
 
Modele wdrażania i zarządzania projektami erp
Modele wdrażania i zarządzania projektami erpModele wdrażania i zarządzania projektami erp
Modele wdrażania i zarządzania projektami erp
 
Metoda analizy i specyfikowania wymagań na oprogramowanie
Metoda analizy i specyfikowania wymagań na oprogramowanieMetoda analizy i specyfikowania wymagań na oprogramowanie
Metoda analizy i specyfikowania wymagań na oprogramowanie
 
Elitmind @ SQLDay2018: Stream Analytics i Machine Learning – czy to dobrze do...
Elitmind @ SQLDay2018: Stream Analytics i Machine Learning – czy to dobrze do...Elitmind @ SQLDay2018: Stream Analytics i Machine Learning – czy to dobrze do...
Elitmind @ SQLDay2018: Stream Analytics i Machine Learning – czy to dobrze do...
 
WarszawQA_#9
WarszawQA_#9WarszawQA_#9
WarszawQA_#9
 
Wiedza Babel - Od projektowania do developmentu
Wiedza Babel - Od projektowania do developmentuWiedza Babel - Od projektowania do developmentu
Wiedza Babel - Od projektowania do developmentu
 
Zwinny_Analityk_SIW_Panel
Zwinny_Analityk_SIW_PanelZwinny_Analityk_SIW_Panel
Zwinny_Analityk_SIW_Panel
 
[PL] Bez trudu i ryzyka! Jak tworzyć przepływy pracy w SharePoint?
[PL] Bez trudu i ryzyka! Jak tworzyć przepływy pracy w SharePoint?[PL] Bez trudu i ryzyka! Jak tworzyć przepływy pracy w SharePoint?
[PL] Bez trudu i ryzyka! Jak tworzyć przepływy pracy w SharePoint?
 
Pomysł na analizę w Agile: Agile Modeling
Pomysł na analizę w Agile: Agile ModelingPomysł na analizę w Agile: Agile Modeling
Pomysł na analizę w Agile: Agile Modeling
 

Bdd and Agile Requirements Boiling Frogs 2016