Upload
micah-armantrout
View
134
Download
6
Embed Size (px)
Citation preview
- Pushes out timeline- Boring- When do you stop ?- I hate it- We have a QA department- Broken window theory - I hate it.- We have GUI Tests we don’t need unit tests- Perfectionism
- Promotes loose coupling between classes and sub systems
- Adds flexibility to code changes for future changes
- Can enable better code reuse
- Easier to unit test
Mocks act like a ping-pong paddle by
intercepting the function call and
immediately returning execution to the
calling function.
hypothesize what needs to change
predict the outcome
you make the changes and
observe the results
Read the Code