dev@glassfish.java.net

Re: moving tests from v2/appserv-test

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Wed, 18 Mar 2009 11:18:39 +0530

IIUC, most of the v2 dev-tests will depend on common configuration (CLI
related targets) available under "appserv-tests/config". So, they need
to be available under v3 also.

Thanks,
-Jagadish


On Tue, 2009-03-17 at 22:14 -0700, Jerome Dochez wrote:
> My vote is to keep it close to your code in v3/web/tests. That way you
> could just open your favorite IDE on the web projects rather than the
> entire set of v3 modules have access to all "your " code.
>
> jerome
>
> On Mar 17, 2009, at 1:52 PM, 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
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>