Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Maven with Appium server command line flag to integrate with JAVA code

Hello,

I have created a test automation Maven Project using Cucumber, and I usually run from the command line using the command "mvn test -Dcucumber.options="tags @iOS"I .
I wanted to know if there is a way that in my JAVA code I can somehow link up that mvn test command and tell it that if the mvn command contains "@tag iOS" then do this...else do something else in the JAVA code.. (as an example)
Help would be greatly appreciated!


Thanks.

Back to the top