geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <...@savarese.org>
Subject Re: [PATCH] JUnit test for org.apache.geronimo.cache.SimpleInstanceCache
Date Tue, 12 Aug 2003 01:45:28 GMT

In message <Pine.LNX.4.44.0308112238170.1568-100000@pclnxbsnyder.digitalglobe.c
om>, Bruce Snyder writes:
>I'm wondering if there's a need for two kinds of tests - unit and
>spec. Of course, these two can be achieved in the same *Test.java files
>and separated simply by a comment line.

The first thing that occurred to me when I started reading the testing
thread is that we're talking about at least two, if not more, different
kinds of testing here.  The immediate need is straight up vanilla unit
testing and it should be kept separate from specification compliance
testing.  It's easy enough to keep the two separate by maintaining
the tests in distinct directory trees.  Ultimately, some sepcification
tests will alse be more basic unit tests, but they should be kept
with the other spec-related tests.  There will be plenty of classes
and methods that have nothing to do with the specification and all
of those will require testing.

daniel



Mime
View raw message