I have a number of tests identified using the Spring @IfProfileValue flag

@IfProfileValue{"a", "c"}
@Test
public void testA{ Do Stuff }

@IfProfileValue{"a", "b"}
@Test
public void testB{ Do Stuff }

@IfProfileValue{"a", "b"}
@Test
public void testC{ Do Stuff }

@IfProfileValue{"b"}
@Test
public void testD{ Do Stuff }
I can run all the tests using
"mvn clean install -Dtest-group=a -Dtest-group=b"

I want to run only the tests that match @IfProfileValue={"a","b") (Test
B/C) so is there a way to run only an intersection of these two values
using maven?

I saw https://jira.codehaus.org/browse/SUREFIRE-809 but wish
https://jira.codehaus.org/browse/SUREFIRE-808 had been implemented

Thanks for any help/suggestions you can provide.

-- 
*Leo Laskin*
Automation Architect, Spredfast Inc.
E :: llas...@spredfast.com
Spredfast Inc.´s Twitter <https://twitter.com/#!/Spredfast> | Facebook
<http://www.facebook.com/Spredfast> | Blog <http://www.spredfast.com/blog/>

Reply via email to