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...
![Page 2: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/2.jpg)
Ambush testing
![Page 3: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/3.jpg)
“ Not my problem - the holes in the other side
of the boat! ”
![Page 4: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/4.jpg)
Ten years ago this yearFeb 11-13 2001 at the Snowbird lodge in the Wasatch mountains
![Page 5: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/5.jpg)
![Page 6: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/6.jpg)
Technical Social
Drivers of approaches
![Page 7: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/7.jpg)
Technology Driven
RedGreenRe-factor
![Page 8: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/8.jpg)
People Driven
![Page 9: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/9.jpg)
People DrivenIdeas
![Page 10: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/10.jpg)
People DrivenBDD, ATDD, Fitnesse
![Page 11: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/11.jpg)
People Driven
![Page 12: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/12.jpg)
Integrating Approaches
![Page 13: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/13.jpg)
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
![Page 14: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/14.jpg)
What should be tested?
Testing performedRequired testing
Risk WasteEffective testing
![Page 15: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/15.jpg)
What should be tested?
Testing performedRequired testing
Risk WasteEffective testing
![Page 16: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/16.jpg)
What should be tested?
Testing performedRequired testing
Risk WasteEffective testing
![Page 17: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/17.jpg)
What should be tested?
Testing performedRequired testing
Risk WasteEffective testing
![Page 18: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/18.jpg)
Different views
Bob the BA
![Page 19: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/19.jpg)
Different views
Dave the dev
![Page 20: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/20.jpg)
Different views
Paul & Pete the testers
![Page 21: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/21.jpg)
Different views
![Page 22: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/22.jpg)
Different views
![Page 23: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/23.jpg)
Different views
![Page 24: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/24.jpg)
Different views
![Page 25: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/25.jpg)
Agile makes some things harder
![Page 26: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/26.jpg)
= Fuzzy requirements
Less defined Requirements ...
![Page 27: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/27.jpg)
= Fuzzy requirements
Less defined Requirements ...
![Page 28: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/28.jpg)
But tests must be objective
Tests
![Page 29: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/29.jpg)
So they can provide...
Tests Actionable Insight
![Page 30: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/30.jpg)
Big gap between
TestsFuzzy requirements
![Page 31: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/31.jpg)
Test Conditions
TestsFuzzy requirements
Test Conditions
![Page 32: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/32.jpg)
Test Conditions
TestsFuzzy requirements
Test ConditionsWorkshop
![Page 33: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/33.jpg)
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
![Page 34: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/34.jpg)
Test Conditions
TestsFuzzy requirements
![Page 35: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/35.jpg)
Questions
TestsFuzzy requirements
![Page 36: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/36.jpg)
Assumptions
TestsFuzzy requirements
![Page 37: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/37.jpg)
TestsFuzzy requirements
T/C’s Given-When-Then
![Page 38: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/38.jpg)
TestsFuzzy requirements
T/C’s Given-When-Then
Given - Some preconditions
When - the Trigger event occurs
Then - the expected outcome
![Page 39: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/39.jpg)
TestsFuzzy requirements
On the same page
![Page 40: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/40.jpg)
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
![Page 41: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/41.jpg)
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
![Page 42: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/42.jpg)
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
Cheap Costly
![Page 43: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/43.jpg)
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
Whiteboard Typed into Excel Later teams move to using a DB
Data Base
![Page 44: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/44.jpg)
Whiteboard Typed into Excel Later teams move to using a DB
Data Base
![Page 45: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/45.jpg)
?
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 ?
![Page 46: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/46.jpg)
ID
![Page 47: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/47.jpg)
Indexes
![Page 48: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/48.jpg)
<Tag />
<Tag /><Tag />
Indexes
![Page 49: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/49.jpg)
G-W-T
![Page 50: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/50.jpg)
Link to Tests
![Page 51: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/51.jpg)
TestsFuzzy requirements Test Conditions
Workshop
Whiteboard Typed into Excel Later teams move to using a DB
Data Base
![Page 52: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/52.jpg)
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
![Page 53: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/53.jpg)
TestsFuzzy requirements Test Conditions
“What” “How”
Workshop
“Who”
Actionable Insight
![Page 54: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/54.jpg)
TestsFuzzy requirements Actionable Insight
Questions?
![Page 55: Agile testing with Test Condition Workshops - ANZTB Ross - Agile Testing and Test... · “Agile Testing” – Lisa Crispin and Janet Gregory. ... Given When Then There are no items](https://reader031.fdocuments.us/reader031/viewer/2022022513/5aeaef257f8b9ad73f8dcb0b/html5/thumbnails/55.jpg)
TestsFuzzy requirements Actionable Insight
Thank you!