Closed pranedon closed 2 years ago
Sys OS - win 10
OpenJDK version "11" 2018-09-25 OpenJDK Runtime Environment 18.9 (build 11+28) OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
I'll look into this further on my Windows machine and follow up - on Linux and OSX the tags for the resource aren't required so I have a feeling it has something to do with how the args are being parsed in the build.gradle
file.
In terms of running it, there's a Windows specific batch file, gradlew.bat
that should work. See here for more information. I don't think that's the issue here, but if it helps let me know.
Another thing you might try would be to just leave the quotes empty, i.e. gradlew testDataDictionary_1_7 -DpathToRESOScript=/path/to/dd17.resoscript -DshowResponses=true -Dstrict=true -Dcucumber.filter.tags=""
You might also try running the tests in Docker if that works for you.
@pranedon this should be taken care of now with #106. Feel free to reopen if not.
Getting below error whenever I use './gradlew testDataDictionary_1_7 -DpathToRESOScript=/path/to/dd17.resoscript -DshowResponses=true -Dstrict=true' commands, it requires additional Tag - '-Dcucumber.filter.tags="@Property"' to run successfully. Am I missing something?
4 actionable tasks: 1 exe./gradlew testDataDictionary_1_7 -DpathToRESOScript=D:/web-api-commander/resoscripts/test.resoscript -DshowResponses=true -Dstrict=true
Options:
-g, --glue PATH Package to load glue code (step definitions, hooks and plugins) from e.g: com.example.app. When not provided Cucumber will search the classpath.
-p, --plugin PLUGIN[:[PATH|[URI [OPTIONS]]] Exception in thread "main" Register a plugin. Built-in PLUGIN types: html, json, junit, message, pretty, progress, rerun, summary, teamcity, testng, timeline, usage, unused
-t, --tags TAG_EXPRESSION Only run scenarios tagged with tags matching TAG_EXPRESSION.
-n, --name REGEXP Only run scenarios whose names match REGEXP.
-d, --[no-]dry-run Skip execution of glue code.
-m, --[no-]monochrome Don't colour terminal output.
io.cucumber.core.exception.CucumberException: Missing argument for --tags -v, --version Print version.
-h, --help You're looking at it.
-w, --wip Fail if there are any passing scenarios.
Feature path examples: When no feature path is provided cucumber will scan the classpath root and its sub directories.