Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stellation-res] Unit test organization

The current unit test organization where all unit tests are isolated into
their own project works well for some kinds of testing including most of
what we have been doing so far.

However, for some kinds of low level unit testing, a different organization
is desirable. In thse cases what is wanted is to give the unit tests package
visibility into the code under test. The easiest way to achive this is to
build a separate test source tree within each project that mirrors the
package structure of the production code and contains the low level Junit
tests.

Eclipse provides good support for this metaphor since it permits multiple
source tree  within a single project. So all we need to do is to create a
parallel structure to the "src" rooted structure that currently exists that
will hold the additional low level unit tests. We use this principle with
great success in my organization whre we name the parallel tree "test".

Any thoughts on this?

Regards

Jonathan

Personal Email
jgossage@xxxxxxxx

Business Email
jonathan@xxxxxxxxxxxxxx




Back to the top