Usage of built-in wire protocol with cucumber-ruby
will be deprecated in cucumber
7.1.0, and removed in cucumber 8.0.0.
The wire protocol will still be available by explicitely using the cucumber-wire
gem.
Before cucumber 7.1.0, the wire protocol was automatically installed with cucumber,
and automatically activated when it had detected a .wire
file.
The wire protocol will work as before, but you will notice a deprecation message.
To prevent the deprecation message to be shown, add the gem cucumber-wire
to your
Gemfile alongside the cucumber
one, and install it:
# Gemfile
# ...
gem "cucumber"
gem "cucumber-wire"
# ...
bundle install
And add require 'cucumber/wire'
in your support code. If you do not have support
code yet, create a new one. For example features/support/wire.rb
.
# features/support/wire.rb
require 'cucumber/wire'
The wire protocol will be installed, and no deprecation message will be shown anymore.
Usage of AfterConfiguration
hook will be deprecated in 7.1.0.
Use the new InstallPlugin
hook if you need the configuration
parameter.
Use the new BeforeAll
hook if you don't need the configuration
parameter.
More information about hooks can be found in features/docs/writing_support_code/hooks/README.md.