dev@glassfish.java.net

Re: moving tests from v2/appserv-test

From: Sahoo <Sahoo_at_Sun.COM>
Date: Wed, 18 Mar 2009 20:17:51 +0530

If these tests are run as part of mvn test/install phase, then they
should be part of src/test, otherwise I prefer not to see them part of
src tree.

Thanks,
Sahoo

Justin Lee wrote:
> The webtier team talked and decided we'd like to move our tests out of
> the v2 tree into some location in the v3 tree. It's confusing to have
> our tests so "far" from our code especially given that many would
> prefer to just check out the v3 tree. We'd originally thought to move
> our tests from v2/appserv-test/devtests/web to v3/web/tests but
> thought we'd get some guidance first. We noticed that in v3/tests
> tree there are not only the quicklook tests but a tree with amx tests
> as well. So there's at least *some* precedence for putting tests
> there. Our question, then, is: which is the preferred approach?
>
> The "Maven Way(tm)" is to have the tests in src/test in the module to
> which they apply and this was our original intent. But if there's a
> general trend/preference to put v3 tests under v3/tests then that's
> something we'd want to adhere to. Is there an official recommendation
> for this kind of thing? Is there already work being done along these
> lines that we should just wait for?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>