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
ParallelTests::Cucumber::FailuresLogger seems to be broken, at least for parallel_tests v3.8.1 with cucumber v7.1.0 and parallel_tests v4.7.2 with cucumber v9.2.0. It brings a #done method that does the right thing, but that method is never called. Instead, on test run completion, a callback inherited from Cucumber::Formatter::Rerun is executed. Since that was not written for parallelism, it improperly joins failure locations without a space, rendering the failures log file useless.
patch looks alright, make sure to add a test that fails without it first :)
and most of this issues description as inline comment to explain what is going on
ParallelTests::Cucumber::FailuresLogger
seems to be broken, at least for parallel_tests v3.8.1 with cucumber v7.1.0 and parallel_tests v4.7.2 with cucumber v9.2.0. It brings a#done
method that does the right thing, but that method is never called. Instead, on test run completion, a callback inherited fromCucumber::Formatter::Rerun
is executed. Since that was not written for parallelism, it improperly joins failure locations without a space, rendering the failures log file useless.A working patch looks like this:
I assume, Cucumber would need an official option to either remove an event handler, or to prevent one from being added.
wdyt?
The text was updated successfully, but these errors were encountered: