-
-
Notifications
You must be signed in to change notification settings - Fork 689
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
undefined method `ok?' for #<Cucumber::Core::Test::Result::Unknown #243
Comments
This is already fixed by cucumber/cucumber-ruby#967, the |
@brasmusson I installed v3.0.0.pre.2 and the bug still exists. |
@JakeKaad can you please supply the backtrace you get with v3.0.0.pre.2? |
@aslakhellesoy Sure. Here you go.
|
Yep, |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
When running cucumber using my default profile in
--dry-run
one of my features fails with the error messageundefined method 'ok?' for #<Cucumber::Core::Test::Result::Unknown
I am not very familiar with the cucumber source code, but it looks like
Result::Unknown
objects are not supposed to be created in--dry-run
.Default profile
--tags ~@known-failure --format pretty --format rerun --out last_run_failures
Backtrace
Expected Behavior
Current Behavior
Possible Solution
As a workaround I monkey patched
#ok?
onCucumber::Core::Test::Result::Unknown
.Steps to Reproduce (for bugs)
To be honest, I am not sure how to reproduce. I'd be happy to pair with somebody to figure it out.
Context & Motivation
I use --dry-run to take inventory of scenarios and steps.
Your Environment
The text was updated successfully, but these errors were encountered: