Ole Arndt writes:
> 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.
Thanks. I will include a parallel directory option to
jde-junit-test-case-directory option and an option to specify
a custom test-case storage scheme. I think I'll change the name
to something like
jde-junit-test-case-storage-scheme
to reflect the fact that what you are really specifying is a rule for
determining the location of test cases based on the location of classes
to be tested.
Paul
>
> 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
>