News for hackers. Stuff that matters.
Re:The evil unit test. by chaostheory on Monday January 30, 2012 @12:23PM (#3529600)
I don't feel that this article is relevant for most programmers using newer languages such as Ruby or Python. There's a simple change in the way I use JUnit that I learned from using Ruby (RSpec, Cucumber) about 4-5 years ago: Don't test methods or functions. Instead test expected behavior e.g. a project requirement. Then you can pretty much avoid every problem listed in the article.

There are no comments on this comment yet.