Forum Discussion
Just curious what happens if you do not provide system argument "-Dsoapui.test-suite=My Test Suite"? And remove it from in pom.xml as well. I believe that entire project would be run. Is that what you need?
If the above do not help, Can you run maven build twice with different system argument and see if that helps.
Yeah of course removing testSuite property and running multiple builds will run my multiple test suites.
My project has 10 test suites and user can run more than 1 test suite at a time, not necessarily he/she wants to run all 10 test suites. Leaving testSuite property empty will run full project.
- nmrao8 years agoChampion Level 3
Ok. Are your tests independent? then see if the below link, of maven running parallel, helps.
https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3- ripplegupta8 years agoContributor
Yes my test are independent and my company 100s of APIs projects, each project is 1 build in POM on which i run test goal of maven to run my project. In same build block i wanted to have flexibility if full project should run or selected test suites.
Thanks for your prompt replies though.
- ripplegupta7 years agoContributor
nmrao Any suggestion here to run selective test case or test suite vs running full project ?
Related Content
- 2 years ago