TDD Anti Patterns

By Roy Osherove In Agile, Art Of Unit Testing, Unit Testing

Markdown version

Historical article · Originally published January 20, 2008; technical details may be outdated.

James Carr lists a nice bunch of TDD anti patterns. via Jeremy .

Here's one example I run into often:

"The Liar
An entire unit test that passes all of the test cases it has and appears valid, but upon closer inspection it is discovered that it doesn’t really test the intended target at all."

More in Agile

All posts in Agile