You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Run cucumber --format message. Whatever your tests are failing or passing, {"testRunFinished":{"success":false is always reported.
Expected behavior {"testRunFinished":{"success": depends on the execution and may be true if no failure is reported. It should match the result of the cucumber command.
The text was updated successfully, but these errors were encountered:
Describe the bug
The "TestRunFinished" message does not report "success: true" if the run was actually ok.
It is actually not implemented at all. See the
message_builder
formatter: it does not set the success for the TestRunFinished message: https://github.com/cucumber/cucumber-ruby/blob/main/lib/cucumber/formatter/message_builder.rb#L229To Reproduce
Run
cucumber --format message
. Whatever your tests are failing or passing,{"testRunFinished":{"success":false
is always reported.Expected behavior
{"testRunFinished":{"success":
depends on the execution and may betrue
if no failure is reported. It should match the result of the cucumber command.The text was updated successfully, but these errors were encountered: