I was just reading Patrick Smachia’s great post on High Test Coverage and I have to say I agree nearly 100%.
I have a presentation up from a few years ago that covers some of the relations between TDD and DbC http://www.infoq.com/presentations/TDD-in-a-DbC-World-Greg-Young that might be worth watching for some people checking out these ideas.
Greg, it is funny coincidence that I felt the need to write my last post:
Code Contracts and Automatic Testing are pretty much the same thing
even before figuring out your post on TDD and Dbc
)
To make it easier to get 100% coverage I have found a way to emply tracing for fault injection. This way you can test your error handling without altering production code.
http://geekswithblogs.net/akraus1/archive/2010/07/19/141000.aspx
Yours,
Alois Kraus
Have you got a downloadable version of this presentation available? Perhaps a torrent?