DEV Community

Discussion on: Serenity automation framework - Part 2/4 - Automation Test with UI using Cucumber

Collapse
 
duongnguyen271192 profile image
duongnguyen271192

Hi, really appreciate your effort. I have a question, if I have 2 test suit runners AcceptanceTest1.java and AcceptanceTest2.java and I want to run only AcceptanceTest2.java by maven, how can I do this? I tried with mvn clean verify -Dtest=path_to_the_AcceptanceTest2 but it does not work. It run both of them.

Collapse
 
cuongld2 profile image
cuongld2

Hello @duongnguyen,
I'm glad that this could help you.
Maybe you can share me the sample project you're having the issue?
From my understanding, I think it might come from configurations in the POM file.