Re[2]: [mojo-dev] how to write IT tests

2014-01-21 Thread Sergei Ivanov
Hi, A correct link to the invoker plugin home page: http://maven.apache.org/plugins/maven-invoker-plugin/ Invoker is a specialised plugin that binds itself to integration test phases in Maven lifecycle. It creates a sandbox Maven environment (complete with a sandboxed local repository), where

Re: [mojo-dev] how to write IT tests

2014-01-21 Thread Karl Heinz Marbaise
Hi, > Curious. Why a profile and not failsafe? I've been steering my teams towards failsafe, would like to hear your reasons. The profile has a simple reason, cause if you don't use a profile every time you do a release all integration tests have to run...(that takes time ...sometimes long ti

Re: [mojo-dev] how to write IT tests

2014-01-21 Thread Stephen Connolly
we are testing maven plugins... that is easier with maven-invoker... if we wrote our integration tests as JUnit or TestNG tests then failsafe would be the right tool for the job. usually we put them in a profile as forking maven builds can be slow, so you don't want them for every build. On 21 J

Re: [mojo-dev] how to write IT tests

2014-01-21 Thread B. K. Oxley (binkley)
Thanks! Curious. Why a profile and not failsafe? I've been steering my teams towards failsafe, would like to hear your reasons. Cheers, --binkley On Jan 22, 2014 6:48 AM, "Robert Scholte" wrote: > Hi, > > For animal-sniffer, ITs can be found here: > http://svn.codehaus.org/mojo/trunk/mojo/anima

Re: [mojo-dev] how to write IT tests

2014-01-21 Thread Robert Scholte
Hi, For animal-sniffer, ITs can be found here: http://svn.codehaus.org/mojo/trunk/mojo/animal-sniffer/animal-sniffer-maven-plugin/src/it/ Consider these as the smallest Maven projects possible, to just touch the issue. They all use the maven-invoker-plugin: http://svn.codehaus.org/mojo/trunk/

[mojo-dev] how to write IT tests

2014-01-21 Thread B. K. Oxley (binkley)
Where can I find more information on writing IT tests? I'd like to add IT tests to these requests, but I'm unsure how to proceed: * http://jira.codehaus.org/browse/MANIMALSNIFFER-39 * http://jira.codehaus.org/browse/MANIMALSNIFFER-40 Thanks, --binkley