In one of the sample chapters, JB explains his terminology of progammer and object tests. I assume that programmer tests include object tests and integration/functional tests written by the programmer.
Do you use any distinction between object tests that run as pure unit tests and those that require a database, server, etc?
I use the term "isolated object test" to refer to a test that exercises a single object in isolation. That means that I simulate all other collaborators, be they databases, network resources, or other Java objects.
A "programmer test" is any test a programmer writes to increase her confidence that the code does what she thinks it does.
Author of <a href="http://www.amazon.com/exec/obidos/ASIN/1932394230/ref=jranch-20" target="_blank" rel="nofollow">JUnit Recipes: Practical Methods for Programmer Testing</a>
J.B., That was the terminology I was looking for! What do you call the non-isolated object tests?
J. B. Rainsberger
Joined: Aug 05, 2004
An object test that isn't isolated is, I suppose, an integration test; but for me, object tests should be isolated to the extent possible. I emphasize this point by throwing in the (redundant) word "isolated".