-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Option strict not parsed: cucumber.execution.strict
#2679
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
Comments
cucumber.execution.strict
cucumber.execution.strict
Non strict execution caused a lot of friction with other tooling (for example see cucumber-junit-xml-formatter#test-outcome-mapping) so we are in the process of deprecating and removing it from all Cucumber implementations. Cucumber JVM has already gone through this cycle. You can read more about the rationale in #1788 and cucumber/common#714. |
Is it possible to somehow mimic this behaviour without The procedure I tried is:
I would want
|
No. The CLI will exit with a non-zero code for any scenarios that have steps that aren't passed or skipped. If we don't follow this pattern we make it more difficult for the ecosystem that process reports.
I think that would be sensible. I would expect each status to have a somewhat distinct color. They're defined in: Perhaps you can send a pull request, my react skills are practicality non-existent. |
I see.
Well the predefined colors seem fine. I would probably change the leading symbol from red-X to organge-X. Unfortunately I have absolutely no react skills. I think we can close this issue, since the most important part for me would have been to not fail if steps are not implemented. I understand the decision and the reasoning to deprecate 'strict'. Thank you very much for the fast replies and quick clarification. |
🤔 What's the problem you're trying to solve?
GIVEN I use Cucumber with Scala and SBT
AND I have dependency to
cucumber-scala
8.13.1AND SBT plugin
com.waioeka.sbt.cucumber-plugin 0.3.1
is enabledWHEN I want tests not to fail if steps are not implemented
THEN I am not able to successfully set the Cucumber option
strict
tofalse
✨ What's your proposed solution?
I would expect the CucumberPropertiesParser.java supports parsing this option so that I at least can pass this option by defining it in the
cucumber.properties
file.⛏ Have you considered any alternatives or workarounds?
I tried to pass the option as follows:
cucumber.properties
file:cucumber.execution.strict=false
CucumberPlugin.envProperties := Map("CUCUMBER_EXECUTION_STRICT"->"false")
sbt cucmber -- --strict=false
)The text was updated successfully, but these errors were encountered: