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
Several tests related to the NotificationFormatter fail with Cucumber 4.0.0. It appears that Cucumber 4.x removed classes and methods that were relied on by guard-cucumber:
Cucumber::Core::Ast
Cucumber::Runtime#steps
The spec errors are reproduced below.
$ bundleexecrspecRunoptions: include{:focus=>true}Allexampleswerefilteredout;ignoring{:focus=>true}Randomizedwithseed58616
.............................................FFF..............
Failures:
1)Guard::Cucumber::NotificationFormatter#step_name when failure is in a background step notifies with a valid feature nameFailure/Error: instance_double(Cucumber::Core::Ast::Feature,name: "feature1")NameError:
uninitializedconstantCucumber::Core::Ast# ./spec/guard/cucumber/notification_formatter_spec.rb:30:in `block (3 levels) in <top (required)>'# ./spec/guard/cucumber/notification_formatter_spec.rb:34:in `block (3 levels) in <top (required)>'2)Guard::Cucumber::NotificationFormatter#step_name with a buggy Background implementation correctly gets the feature nameFailure/Error: instance_double(Cucumber::Core::Ast::Feature,name: "feature1")NameError:
uninitializedconstantCucumber::Core::Ast# ./spec/guard/cucumber/notification_formatter_spec.rb:30:in `block (3 levels) in <top (required)>'# ./spec/guard/cucumber/notification_formatter_spec.rb:34:in `block (3 levels) in <top (required)>'3)Guard::Cucumber::NotificationFormatterafterallfeaturesformatsthenotificationFailure/Error: allow(mother).toreceive(:steps).with(:passed).and_return([step])theCucumber::Runtimeclassdoesnotimplementtheinstancemethod: steps# ./spec/guard/cucumber/notification_formatter_spec.rb:11:in `block (3 levels) in <top (required)>'Finishedin0.09354seconds(filestook2.13secondstoload)62examples,3failuresFailedexamples:
rspec./spec/guard/cucumber/notification_formatter_spec.rb:47# Guard::Cucumber::NotificationFormatter#step_name when failure is in a background step notifies with a valid feature namerspec./spec/guard/cucumber/notification_formatter_spec.rb:62# Guard::Cucumber::NotificationFormatter#step_name with a buggy Background implementation correctly gets the feature namerspec./spec/guard/cucumber/notification_formatter_spec.rb:18# Guard::Cucumber::NotificationFormatter after all features formats the notificationRandomizedwithseed58616
The text was updated successfully, but these errors were encountered:
Several tests related to the NotificationFormatter fail with Cucumber 4.0.0. It appears that Cucumber 4.x removed classes and methods that were relied on by guard-cucumber:
The spec errors are reproduced below.
The text was updated successfully, but these errors were encountered: