You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@river.apache.org by Jonathan Costers <jo...@googlemail.com> on 2009/04/21 21:52:24 UTC

Re: [jira] Commented: (RIVER-272) ClassDep.java relies on Sun specific Internal JDK API

> Good idea, can someone create a "unit-test" directory in the main 
> trunk?  Should I raise an issue on Jira?  A bit off topic, but related, 
> I noticed there two directory trees, one called integrationtests and the 
> other called qa, if we create a "unit-test" directory, it would be nice 
> to have an "integration-test" directory for clarity.

Yes, please open an issue, and lets continue this discussion there.
The latest revision of the jtsk trunk contains:
DISCLAIMER
KEYS
LICENSE
NOTICE
build.xml
common.xml
doc/
index.html
qa/
src/
tools/

No more "integrationtests" dir there.
What I would propose is this add a "test" (I guess naming is not so
important) directory (like most standard project directory layouts store
their unit tests) and add some test targets to the main build.xml for
it.

so:

build.xml (add test targets here)
common.xml
...
src
test
 - src
qa
 - build.xml
 - src
 - ...

IMHO, the difference with the QA "subproject" would be that the latter
has its own build file and will be distributed separately. Technically
one could add unit tests to the QA harness too, they would go in
qa/test ;-)

That said, everybody is of course free to send in patches to add some
unit tests any way they feel is best!

Best
Jonathan