News for hackers. Stuff that matters.
Re:Why Most Unit Testing is Waste [pdf] by copergi on Thursday March 06, 2014 @12:47PM (#7355289)
No, you are confusing unit testing with TDD. Unit testing is just testing units of code. TDD is the religious practice adhered to by some followers of Agile that is a "design tool" where you write tests first. http://en.wikipedia.org/wiki/Test-driven_development

>not for exposing nullpointer exceptions

If you are using a language primitive enough to have null pointer exceptions, then using unit tests to try to detect some of them is a perfectly reasonable thing.

There are no comments on this comment yet.