Unit tests vs. Integration tests

There's a hot discussion going on between myself and Ayende (Oren Eini) about the different between unit tests and integration tests specifically on how much harder writing unit test is.

It all started when I commented on a post Oren wrote: Unit tests vs. Integration tests in a post of my own (at my company's blog). Oren then commented about my observations in another post - Don’t mock my integration tests which I replied to here.


I especially enjoyed reading the comments of these posts - they are idea rich, written by developers with a good understanding of TDD, unit testing and mocking frameworks.

If you want to know how you can make writing unit test easier, think that I'm wrong (or right) or just want to offer your point of view - join the conversation by commenting one of these posts.

Labels: ,