Passing jvm arguments to Gradle test task
问题 I would like to pass JVM parameters to my Gradle test task. I use the parameters in a Cucumber feature file: ${app.url} . In the build.gradle file, I put those lines: test { testLogging.showStandardStreams = true systemProperties System.getProperties() } When I execute gradle test -Dapp.url=http://..... , I don't see the parameter was passed to the application. I also tried the below, but the result is the same: test { testLogging.showStandardStreams = true systemProperty "app.url", System