Remember - a test suite does two things. It allows you to exercise the API while developing (Test-Driven Development) and it verifies that changes don't break previously-working code. Mocks are much better at doing the latter than the former. Use them where they make sense.
In reply to Re: Testing: To Mock or Not to Mock?
by dragonchild
in thread Testing: To Mock or Not to Mock?
by agianni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |