soapuiUser123
13 years agoNew Contributor
How to run subset of test cases or test suites using Maven
Hi,
Is there a way to define subset on test cases or test suites in pom file to execute the bunch using maven ( mvn test or mvn site).
I tried couple of ways but couldn't succeed.
1] Method -
<testCase>test case 1</testCase>
<testCase>test case 2</testCase>
but it would only execute the last one.
2] Method -
<testCases>
<testCase>test case 1</testCase>
<testCase>test case 2</testCase>
</testCases>
but this just gets ignored by the eviware:soapui:test plugin, may be due to no such setting as <testCases> defined in the plugin.
Can someone please help. I am using the pom as defined here --> http://soapui.org/Test-Automation/maven-2x.html and able to run entire project or single test case or single test suite but not a subset of them.
Thanks.
Is there a way to define subset on test cases or test suites in pom file to execute the bunch using maven ( mvn test or mvn site).
I tried couple of ways but couldn't succeed.
1] Method -
<testCase>test case 1</testCase>
<testCase>test case 2</testCase>
but it would only execute the last one.
2] Method -
<testCases>
<testCase>test case 1</testCase>
<testCase>test case 2</testCase>
</testCases>
but this just gets ignored by the eviware:soapui:test plugin, may be due to no such setting as <testCases> defined in the plugin.
Can someone please help. I am using the pom as defined here --> http://soapui.org/Test-Automation/maven-2x.html and able to run entire project or single test case or single test suite but not a subset of them.
Thanks.