How deep are your unit tests?
Posted
by John Nolan
on Stack Overflow
See other posts from Stack Overflow
or by John Nolan
Published on 2008-09-30T14:19:14Z
Indexed on
2010/06/09
3:42 UTC
Read the original article
Hit count: 202
The thing I've found about TDD is that its takes time to get your tests set up and being naturally lazy I always want to write as little code as possible. The first thing I seem do is test my constructor has set all the properties but is this overkill?
My question is to what level of granularity do you write you unit tests at?
..and is there a case of testing too much?
© Stack Overflow or respective owner