Paul Kinnucan <[EMAIL PROTECTED]> writes:

> This command will also use a customization variable that I plan to
> implement named,
>
>   jde-junit-test-case-directory
>
> that will allow you to specify where test cases are located for
> a project. My thought is to allow you to specify one of two locations:
>
>   - same directory as the classes to be tested
>   - a specified directory beneath the classes to be tested,
>     e.g., unittest.
>
> Please let me know if you know of other places that people 
> commonly store test cases.

A very common scheme is to have the java source files of a project
under one top directory and to use a parallel directory hierarchy for
the test sources.  All projects managed with maven follow this scheme
for example.

Example:

project/src/net/java/project/Source.java
project/test/net/java/project/SourceTest.java

or:
 
project/src/java/net/java/project/Source.java
project/src/test/net/java/project/SourceTest.java

-- 
Ole Arndt                     http://www.sugarshark.com

Reply via email to