29. What to Unit Test?
Message
Origin
Incoming
Sent to Self
Outgoing
Type
Query
Command
Assert
Assert
result
direct public
side effects
Ignore
Ignore
Expect
to send
52. Development
• As similar as possible to production
• Optimized for development speed
• Short feedback cycle
• Watchers, live reloading, auto
testing
66. Silva’s 4 rules of
happiness
1. If you like something, enjoy it!
2. If you don’t like something, avoid it!
3. If you don’t like something and can’t
avoid it, change it!
4. If you can’t or choose not to avoid or
change it, change your perception of it!