Forum Discussion
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
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.
- ripplegupta6 years agoContributor
nmrao Any suggestion here to run selective test case or test suite vs running full project ?
- harry6 years agoContributor
did you figureout how to run multiple testsuites( specifc testsuites) i have 13 test suites in 1 project. but i want to to run specifically 3 through using maven
- harry6 years agoContributor
did you figureout how to run multiple testsuites( specifc testsuites) i have 13 test suites in 1 project. but i want to to run specifically 3 through using maven
ripplegupta wrote:
nmrao Any suggestion here to run selective test case or test suite vs running full project ?
- ripplegupta6 years agoContributor
harry Had to apply hack.
I am assuming you are passing names of test suites/cases to run to testRunner or maven command.
In Before Project Run Event Handler, capture test suite/case names. Iterate full project and disable every test suite/case dynamically which does not match your input.
Let me know if you got the idea.
Related Content
- 12 months agoYki