On Wed, 12 Jul 2006, Adam Hardy wrote:

Hi,

It was an attempt of mine to be able to fork test projects like
maven-core-it/*/ in projects themselves.

The idea is that you create src/it/project1/pom.xml,
src/it/project2/pom.xml etc. and use those poms to do integration
tests on the completed artifact, using the pom to set up and run the
tests.

What is your setup, what are the problems you're experiencing, and
what are you trying to accomplish?

I basically wanted a way to test .war files and maven plugins in the
project itself. The test phase doesn't have access to the packaged
artifact, but the integration-test phase does. When I started the plugin,
there was no pre-integration-test and post-integration-test phase,
and I needed more than 1 phase to deploy the .war, run the tests, and
undeploy it (for instance).

Right now you could just use the pre-integration-test phase to deploy the
war and compile the integration test sources, the integration-test phase
to run your unit tests using surefire, and the post-integration-test to
clean up after the test. But maybe a simple project in src/it/ is easier.

It's still in the sandbox, unfortunately, until there's some really good
purpose for it. Maybe your usecase will help.

-- Kenney

> Integration testing is getting too big and lengthy for our app and I
> want to move it so that we don't have to run them during normal builds.
>
> i.e. we can configure continuous integration to run them seperately.
>
> I can see maven-it-plugin in the sandbox and I can see a couple of
> emails in the archive and also this JIRA issue:
>
> http://jira.codehaus.org/browse/MNG-1922
>
> which makes me wonder, what is it for?
>
> I tried setting it up but couldn't figure out the configuration. Is
> anybody using?
>
>
> Adam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to