Assertfail

When to use mocks?

16 Apr 2011

You use mocks when you want to test how the code interacts with the mocked objekts.

If you care mostly about the end result, the final state, then it's easier and less brittle to use fakes.

Tags


Comments or errors? Fork this post and do a pull request on github