I don't thinks there's a clean way of dong this unfortunately. One way it could be done, I think, is to create a profile that is triggered by some property, which set the skip param of the surefire plugin. If you want to just execute one single integration test, I would look into the -Dit.test property. However, you still need to turn off the unit tests as well.
If you have these requirements, it might be better to put the integration tests in a separate Maven project. /Anders On Thu, Feb 10, 2011 at 20:22, Steve Cohen <[email protected]> wrote: > Given a project utilizing both the surefire and failsafe plugins, if I want > to run a single integration test but skip the unit tests, is this possible? > > There is a -DskipITs switch but not a -DskipUTs switch. > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
