-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate and Remove cucumber.options
#1779
Milestone
Comments
cucumber.options
cucumber.options
mpkorstanje
added a commit
that referenced
this issue
Apr 23, 2020
`cucumber.options` was used to control cucumbers execution when run through `mvn test`. This is no longer required with the introduction of property based runtime options in #1741. Removing `cucumber.options` allows CLI argument parsing to be separated from property parsing which simplifies the complexity of parsing significantly. Additionally - We remove `--add-plugin` and associated logic in `RuntimeOptionsBuilder`. All plugins are added by default. - Separate calling `System.exit` from parsing the runtime options. Main should check if exit is required after parsing. - Write tests that validate if the correct text is written to `System.out` and `System.err` by injecting these into `CommandlineOptionsParser`. Fixes: #1779
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently
cucumber.options
is used to control cucumbers execution when run throughmvn test
. This is no longer required with the introduction of property based runtime options in #1741.Deprecating and eventually removing
cucumber.options
will allow us to move the CLI argument parsing fromio.cucumber.core.options
toio.cucumber.core.cli
where it belongs.Additionally
--add-plugin
and associated logic inRuntimeOptionsBuilder
. All plugins are added by default.System.exit
from parsing the runtime options. Main should check if exit is required after parsing.System.out
andSystem.err
by injecting these intoCommandlineOptionsParser
.Todo
cucumber.options
#1836The text was updated successfully, but these errors were encountered: