mardi 7 août 2018

How to run several test cases using maven

I have 2 classes of tests (TestSuiteB, TestSuiteA)
I want to run one test case from each class.
how can I do that using maven and surefire plugin version 2.22.0?

I tried to run the following, but its not working for me..

mvn clean -Dtest=TestSuiteB#testCaseA,TestSuiteA#testCase1 test

I already see this post but its not solve my case..

Aucun commentaire:

Enregistrer un commentaire