Forum Discussion
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.
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.
- harry6 years agoContributor
I had logic disable the testsuites based on a property in the ( project. properties file). But through maven command i want to run particular test suites . Please, find the attached pom.xml
Related Content
- 12 months agoYki