5. TDD Community
• is irritating
• shames people
• doesn’t have your deadline
warning: generalisation
6. They say Tests
• Gives you confidence to refactor
• Helps you write better designed API
• Serves as documentation
• Untested code is legacy code
warning: ymmv
7. • Gives you confidence to refactor
• Helps you write better designed API
• Serves as documentation
• Untested code is legacy code
I have a YUGE confidence.
They say Tests
warning: ymmv
8. • Gives you confidence to refactor
• Helps you write better designed API
• Serves as documentation
• Untested code is legacy code
I have a YUGE confidence.
They say Tests
warning: ymmv
9. • Gives you confidence to refactor
• Helps you write better designed API
• Serves as documentation
• Untested code is legacy code
I have a YUGE confidence.
My code is well designed. Unlike yours.
They say Tests
warning: ymmv
10. • Gives you confidence to refactor
• Helps you write better designed API
• Serves as documentation
• Untested code is legacy code
I have a YUGE confidence.
My code is well designed. Unlike yours.
They say Tests
warning: ymmv
11. • Gives you confidence to refactor
• Helps you write better designed API
• Serves as documentation
• Untested code is legacy code
I have a YUGE confidence.
My code is well designed. Unlike yours.
My commit log is more awesome than your résumé
They say Tests
warning: ymmv
12. • Gives you confidence to refactor
• Helps you write better designed API
• Serves as documentation
• Untested code is legacy code
I have a YUGE confidence.
My code is well designed. Unlike yours.
My commit log is more awesome than your résumé
They say Tests
warning: ymmv
13. • Gives you confidence to refactor
• Helps you write better designed API
• Serves as documentation
• Untested code is legacy code
I have a YUGE confidence.
My code is well designed. Unlike yours.
My commit log is more awesome than your résumé
Untested test is legacy code too
They say Tests
warning: ymmv
17. We ♥ Code Too
• Refactor & agonize over naming; like your first born
• Write commit messages like the world care to read
• Write inline docs that formats like professionals
• Recite design patterns before bedtime
18. They say Tests
• Gives you confidence to refactor
• Helps you write better designed API
• Serves as documentation
• Untested code is legacy code
warning: ymmv
19. They say Tests
• Gives you confidence to refactor
• Helps you write better designed API
• Serves as documentation
• Untested code is legacy code
warning: ymmv
YAGNI
20. I get paid for code
that works, not for
tests
- Kent Beck
Other God
31. “I really like this approach
of testing, it just walks you
through: what’s the next
step I have to do to get
this working.”
http://railscasts.com/episodes/275-how-i-test
76. nasa.gov
You solve one problem... and you solve the next
one... and then the next. And if you solve enough
problems, you get to come home.
- Mark Watney
80. Don’t WORRY
• Testing “Right”
• Testing All The Things — Rabbit hole
• Discarding tests
• Which test library to choose
• Should I mock or stub or factory — I don’t know I
don’t care