agile testing - anztb_ivory_devs&testers.pdf · 2015-05-27 · bdd atdd tdd 13. 14. 15 we can...
TRANSCRIPT
▪
2
3
4
5
6
7
▪
▪
▪
▪
8
9
▪
Quick of feature behaviour
Determines the Acceptance Criteria for
a user story
Business
Reps Developer
Tester
10
11
▪
▪
▪
▪
▪
▪
▪
▪
▪
12
BDD
ATDD TDD
13
14
15
We can embed examples into the
scenarios
Add a Test
Run the
Test
Test
Fails
NO CODE
YET
Run the
Test
Test
Passes
Write
CODEREFACTOR
CODE
16
Colin wants a fast car?
17
Excellent – so we all agree then….I’m glad we’re on the same page….18
Write
Requirements
Write the Code
Design the
System
Specify the
SystemTest the
SpecificationBuild System
Acceptance
Testing
Integration
Testing
System Testing
Component Testing
Reviews
Walkthroughs
Inspections
Inspections
Static Analysis
Shared vision of a feature is accomplished through formal reviews.Poor Quality
Inconsistent
Redundant
19
Excellent – so we all agree then….I’m glad we’re on the same page…20
21
22
▪
How will we delete?
Is it consistent with
other ways of
deleting? What
happens to the
deleted item?
23
▪
▪
▪
▪
▪
24
▪
25
“As a frequent book buyer,
I want strong passwords
so that my credit card
information remains secure”.
26
The aim is to gain a better understanding of what Brian wants and that we
all understand what is meant by ‘strong passwords’. (recall ‘fast car’ )
27
28
29
30
▪
▪
▪
▪
▪
▪
▪
▪
▪
31
After many conversations, the whole team have come up with a shared
understanding of the acceptance criteria.
▪
▪
▪
32
Data Expected Result Expected Message
IsThis$AGood11 Pass
AAbbCC11 Fail No Special Characters
$$$bbb111 Fail No Upper Case
AAA%% Fail No Lower Case
AAAA%%%%bbbbb Fail No numbers
Aa9ab$ Fail Too Short
In this case the team have come up with real examples of inputs and outputs to gain this shared understanding of the acceptance criteria
33
Coder (Developer) Business Analyst Tester
34
35
▪
▪
▪
▪
36
Agile Atlas User Stories
Driving development with tests: ATDD and TDD Elisabeth
Hendrickson
Lean-Agile Acceptance Test-Driven Development, Ken Pugh
Agile Testing , Crispin and Gregory
More Agile Testing , Crispin and Gregory
Bridging the Communication Gap, Gojko Adzic
Specification by Example, Gojko Adzic
Test-Driven Development By Example, Kent Beck
37