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.

image

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s