Passing system property to cucumber test via gradle

I've got a set of cucumber (java) tests which I would like to run via the commandline, setting system properties to define things such as the browser and whether to run locally or on BrowsersStack. The system is built with Gradle.

I have looked at this question and tried every different solution recommended there, to no avail. I also noticed that while the question was posed and the answer accepted in 2014, there are a number of 2018 comments that say the approach isn't working. A similar approach is detailed...

Read More »

By: StackOverFlow - 6 days ago

Related Posts