Reputation: 4783
I've 2 CI flows , which flow needs to run it's own cucumber runner RunnerATest RunnerBTest
I'm using maven command line to run the tests (mvn test)
Is there a way to select a specific Runner from command line ?
Thanks
Upvotes: 4
Views: 2053
Reputation: 12049
Maven Surefire Plugin - Running a Single Test
During development, you may run a single test class repeatedly. To run this through Maven, set the test property to a specific test case.
mvn -Dtest=TestCircle test
So you'd do just that. mvn -Dtest=RunnerATest test
.
Upvotes: 6