You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jason Pyeron <jp...@pdinc.us> on 2014/10/08 01:47:28 UTC
RE: [maven] Best practice for integration tests (vs unit tests)
> -----Original Message-----
> From: Kevin Burton
> Sent: Tuesday, October 07, 2014 19:28
>
> Right now I have an overlap of unit and integration tests and
> I want to
> tear out my integration tests and keep them separate. This
> way our unit
> tests execute fast and integration testing takes a bit longer.
>
> . and now I'm trying to figure out the best strategy for that.
>
> Reading this:
>
> http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing
>
> seems to not solve the problem.
Try: http://stackoverflow.com/questions/1399240/how-do-i-get-my-maven-integration-tests-to-run
>
> Seems to me the easiest would be to just have
> src/main/integration-tests
>
> . but would I have to use failsafe or surefire? I'm not sure
> why I would
> need another plugin for this.
>
> Maybe someone can enlightenment me with some maven wisdom?
This may not be in line with what you are looking for, but we typically move our integration tests to a separate pom.xml which has the primary pom as a dependency.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org