Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.6
-
Fix Version/s: None
-
Component/s: Maven Failsafe Plugin, Maven Surefire Plugin
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
I have a project with both surefire unit tests and failsafe integration tests. This works until I try to start controlling things from command line.
1. Both plugins respect -DskipTests. failsafe has skipITs, but surefire does not seem to have a corresponding property that just skips the unit tests, not the integration tests.
2. When I use -Dtest= and specify an integration test, SUREFIRE runs it before failsafe gets a chance, and of course it fails because the pre-integration-test phase hasn't set up.