Freigeben über


TDD Anti-Patterns

James Carr has an amusing and enlightening post on TDD Anti-Patterns. They encompass all the key points I've written about and add a few more as well. I'm not completely sure if I understand what he means by 'The Secret Catcher', because it's perfectly normal (and valid) to write unit tests with NUnit that have no Assert, but rather an [ExpectedException] attribute. Still, a good read and valid points to keep in mind when writing or reviewing unit tests.