Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile...
Transcript of Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile...
Ambush testing
“ Not my problem - the holes in the other side
of the boat! ”
Ten years ago this yearFeb 11-13 2001 at the Snowbird lodge in the Wasatch mountains
Technical Social
Drivers of approaches
Technology Driven
RedGreenRe-factor
People Driven
People DrivenIdeas
People DrivenBDD, ATDD, Fitnesse
People Driven
Integrating Approaches
Quadrant model Business Facing
Tech Facing
Supporting the team
Critique the product
Automated
Automated &
ManualManual
Tools
Unit Tests
FunctionalTests
Exploratory & Usability
Tests
Security & Performance
“Agile Testing” – Lisa Crispin and Janet Gregory
What should be tested?
Testing performedRequired testing
Risk WasteEffective testing
What should be tested?
Testing performedRequired testing
Risk WasteEffective testing
What should be tested?
Testing performedRequired testing
Risk WasteEffective testing
What should be tested?
Testing performedRequired testing
Risk WasteEffective testing
Different views
Bob the BA
Different views
Dave the dev
Different views
Paul & Pete the testers
Different views
Different views
Different views
Different views
Agile makes some things harder
= Fuzzy requirements
Less defined Requirements ...
= Fuzzy requirements
Less defined Requirements ...
But tests must be objective
Tests
So they can provide...
Tests Actionable Insight
Big gap between
TestsFuzzy requirements
Test Conditions
TestsFuzzy requirements
Test Conditions
Test Conditions
TestsFuzzy requirements
Test ConditionsWorkshop
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
Test Conditions
TestsFuzzy requirements
Questions
TestsFuzzy requirements
Assumptions
TestsFuzzy requirements
TestsFuzzy requirements
T/C’s Given-When-Then
TestsFuzzy requirements
T/C’s Given-When-Then
Given - Some preconditions
When - the Trigger event occurs
Then - the expected outcome
TestsFuzzy requirements
On the same page
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
Cheap Costly
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
Whiteboard Typed into Excel Later teams move to using a DB
Data Base
Whiteboard Typed into Excel Later teams move to using a DB
Data Base
?
A
Given When ThenThere are no items in
the shopping cartCustomer clicks
“Purchase” button for a book which is in
stock
1x Book is add to shopping cart. Book is held - prevent selling
it twice.
“Customer clicks
“Purchase” button for a book which is in
stock
Dialog with “out of stock” message and offering customer
option of putting book on back order.
Expire ‘held’ books after 20
minutes
Do we need to test card/DB
interface with the ‘Sticky
session’ load balancing ?
ID
Indexes
<Tag />
<Tag /><Tag />
Indexes
G-W-T
Link to Tests
TestsFuzzy requirements Test Conditions
Workshop
Whiteboard Typed into Excel Later teams move to using a DB
Data Base
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
Business
Tech
Supporting Critique the
Automa
Auto& Man
Tool
Unit Tests
FunctionalTests
Exploratory & Usability
Tests
Security & Performance
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
TestsFuzzy requirements Actionable Insight
Questions?
TestsFuzzy requirements Actionable Insight
Thank you!