JUnit

September 30th, 2005

LOL. This argument falls in the same category as "a hammer isn't a tool, because I've seen people using it as a weapon". Or how "definition purism" is pretty almost always useless. And always boring.

1 Response to “JUnit”

  1. Jason Says:
    This argument reminds me of the Zeno's Dichotomy paradox. In this case it can be stated as: If you want to unit test a class A, and A has some associations with class B, then you are doing integration testing. If you test class A in isolation you are really not, because you are testing the JVM implementation as well. Also, since the JVM runs in an OS...you are testing the OS as well. And since the OS runs on a set of hardware... Well you get the picture. So thus, unit testing is an illusion.

Sorry, comments are closed for this article.