Hmm, I'd rather let them in our own SVN and automatically run the ITs if the 'apache-release' profile gets activated.
If we do all the work and create automated integration tests which can help us prevent regressions, than we should also run them before doing any release. LieGrue, strub --- On Tue, 12/21/10, Gerhard <[email protected]> wrote: From: Gerhard <[email protected]> Subject: Re: [DISCUSS] Integration test module for MyFaces core To: "MyFaces Development" <[email protected]> Date: Tuesday, December 21, 2010, 11:02 AM +1 esp. for our sub-projects, it would be nice if we host the examples at apache-extras and just use them for the integration tests.i would also use this approach for myfaces-core examples. regards,gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2010/12/21 Mark Struberg <[email protected]> fat +1 :) LieGrue, strub --- On Tue, 12/21/10, Jakob Korherr <[email protected]> wrote: > From: Jakob Korherr <[email protected]> > Subject: [DISCUSS] Integration test module for MyFaces core > To: "MyFaces Development" <[email protected]> > Date: Tuesday, December 21, 2010, 10:29 AM > Hi guys, > > We successfully created an integration-test webapp for > MyFaces CODI a > few weeks ago and I would like to add this stuff also to > MyFaces core. > > The module in CODI [1] is a standard war-artifact which > uses Cargo [2] > to start and stop the container and HtmlUnit [3] as the > "browser". > This means that you can run automated integration-tests > against the > webapp, but also use mvn jetty:run-exploded to manually > click through > it. Thus you can also see it as a bunch of examples. > > For the module in MyFaces core I would like it only to be > included if > you add a specific profile, e.g. -Pintegrationtest. Thus > the module > will not automatically be executed in every maven build and > will not > be part of a core-release. However, on hudson it will be > executed in > the nightly builds. > > In addition the module in MyFaces core will consist of more > then one > webapp, because we have to handle different environment > scenarios > (bean validation available, el 2.2 available,..). > > I hope that you all agree that this will help us a lot in > preventing > and fixing bugs, which can not really be tested by standard > JUnit > tests. > > Regards, > Jakob > > [1] > http://svn.apache.org/repos/asf/myfaces/extensions/cdi/trunk/test-modules/cargo-test-module/ > [2] http://cargo.codehaus.org/Maven2+plugin > [3] http://htmlunit.sourceforge.net/ > > -- > Jakob Korherr > > blog: http://www.jakobk.com > twitter: http://twitter.com/jakobkorherr > work: http://www.irian.at >
