JUnit Nail-Guns Antipatterns

The advent of JUnit has been a boon to developers. Unfortunately, many think it’s enough to learn the JUnit API and write a few tests in order to have a well-tested application. This idea is worse than not testing at all because it leads to a false sense of code health. Learning JUnit is the easiest part of testing. Writing good tests is the hard part. This article presents some common JUnit antipatterns and shows how to resolve them.

4 Comments

  1. 2005-08-02 11:57 am
  2. 2005-08-02 1:51 pm
  3. 2005-08-02 6:53 pm
  4. 2005-08-03 1:56 am