5. 1
I'll send an email to everyone asking who wants
to go to the pub after work.
6. 1
I'll send an email to everyone asking who wants
to go to the pub after work.
2
I’m in.
7. 1
I'll send an email to everyone asking who wants
to go to the pub after work.
5 6
4
32
I’m in.
8. 1
I'll send an email to everyone asking who wants
to go to the pub after work.
5 6
4
32
I’m in.
7
I just need to finish a few things off.
Can you wait 5 minutes?
9. 1
I'll send an email to everyone asking who wants
to go to the pub after work.
5 6
4
32
I’m in.
7
I just need to finish a few things off.
Can you wait 5 minutes?
8
I'll see you there, I'm gonna be here
another half an hour at least.
17. By this time...
Half an hour has passed since #1 to #6 were ready to go.
#7 has already finished his work and joined the others.
18. By this time...
Half an hour has passed since #1 to #6 were ready to go.
#7 has already finished his work and joined the others.
All of them are around #9 desk, waiting for him.
19. By this time...
Half an hour has passed since #1 to #6 were ready to go.
#7 has already finished his work and joined the others.
All of them are around #9 desk, waiting for him.
#8 joins the waiting crowd a few minutes later.
34. 1
I'm off to the pub in 5 minutes sharp.There's
some spaces in the cab.Anyone wanna join me?
35. 1
I'm off to the pub in 5 minutes sharp.There's
some spaces in the cab.Anyone wanna join me?
4
32
I’m in.
36. 1
I'm off to the pub in 5 minutes sharp.There's
some spaces in the cab.Anyone wanna join me?
4
32
I’m in.
5
6
Who’s next?
37. 1
I'm off to the pub in 5 minutes sharp.There's
some spaces in the cab.Anyone wanna join me?
4
32
I’m in.
7
I just need to finish a few things off.
Can you wait 5 minutes?
5
6
Who’s next?
38. 1
I'm off to the pub in 5 minutes sharp.There's
some spaces in the cab.Anyone wanna join me?
4
32
I’m in.
7
I just need to finish a few things off.
Can you wait 5 minutes?
8
I'll see you there, I'm gonna be here
another half an hour at least.
5
6
Who’s next?
41. #5 and #6 decided to wait for #7 to share a taxi.
In the mean time...
42. #5 and #6 decided to wait for #7 to share a taxi.
#8 says the same thing “oh, wait for me, I’m nearly done”
In the mean time...
43. #5 and #6 decided to wait for #7 to share a taxi.
#8 says the same thing “oh, wait for me, I’m nearly done”
#9 says “I’m almost done too, you three go first and I split
a taxi with #8”
In the mean time...
48. Can you think of examples?
Are you one of the thirsty workers that could
go to the pub but is still waiting for everyone?
49. Can you think of examples?
Do you have working pieces of code, ready
for deploy, that are waiting for colleagues?
Are you one of the thirsty workers that could
go to the pub but is still waiting for everyone?
50. Can you think of examples?
Is the group of thirsty workers so big that
whenever the chosen pub is closed, finding
another pub in the busiest time is a difficult
task?
51. Can you think of examples?
Are the changes you deploy so big, that when
something unexpected happens, you have to
re-sync and deploy everything again?
Is the group of thirsty workers so big that
whenever the chosen pub is closed, finding
another pub in the busiest time is a difficult
task?
52. Can you think of examples?
Do the pubs close or are packed before
thirsty workers finally organize themselves
and get out of the office?
53. Can you think of examples?
Do you loose your opportunity window
getting all teams in sync for a release?
Do the pubs close or are packed before
thirsty workers finally organize themselves
and get out of the office?
54. Suggestions
Find a pub that’s not far from the office.
Have an agreement that every evening, if
someone is thirsty, they just head to the pub,
rather than organizing an outing.
55. Suggestions
Find a pub that’s not far from the office.
Have an agreement that every evening, if
someone is thirsty, they just head to the pub,
rather than organizing an outing.
Working at the pub?
58. Not only working software
but also well-crafted software
Not only responding to change
but also steadily adding value
Not only individuals and interactions
but a community of professionals
Not only customer collaboration
but also productive partnerships
70. Story: Account Holder withdraws cash
As an Account Holder
I want to withdraw cash from an ATM
So that I can get money when the bank is closed
71. Story: Account Holder withdraws cash
As an Account Holder
I want to withdraw cash from an ATM
So that I can get money when the bank is closed
Scenario 1: Account has sufficient funds
Given the account balance is $100
And the card is valid
And the machine contains enough money
When the Account Holder requests $20
Then the ATM should dispense $20
And the account balance should be $80
And the card should be returned
73. TDD practices
Define the API you want to use
Write code based on facts
Write just enough code to make test pass
Read the tests to learn about someone’s else code