Cucumber for Ruby. It's amazing!
testStepResult
is of type FAILED
we now pass in a new (Exception), message property
(#1738 luke-hill)ParameterType
message now contains a new (sourceReference), property
(This contains a uri string and a Location
message -> for where the ParameterType transformer
is located) (#1738 luke-hill)#attach
now can take an optional filename parameter which will rename attachments like PDF's
(#1738 luke-hill)eval
in Cucumber::Term::ANSIColor
and Cucumber::Formatter::ANSIColor
.
(PR#1589
Issue#1583)DataTable#map_headers
when headers have the same prefix.
(PR#1598
Issue#1450)DataTable#map_column
, Changed the strict
argument into a keyword argument.
See UPGRADING.md.
(PR#1594
Issue#1592)AfterConfiguration
has been removed. Please use InstallPlugin
or BeforeAll
instead.
See the UPGRADING.md to update your code accordingly.
(PR#1591)stdin
argument from Cli::Main
. That may impact your code
if you use cucumber API Cucumber::Cli::Main
. See UPGRADING.md.
(PR#1588
Issue#1581)DataTable#map_column!
and DataTable#map_headers!
.
Those methods were error-prone and planned to be removed a long time ago. You
can use the immutable versions instead: DataTable#map_column
and
DataTable#map_headers
.
(PR#1590
Issue#1584)New BeforeAll
and AfterAll
hooks
More information about hooks can be found in features/docs/writing_support_code/hooks/README.md.
New hook: InstallPlugin
It is intended to be used to install an external plugin, like cucumber-ruby-wire.
It is fired just after the AfterConfiguration
one. Two parameters are given:
the same configuration
instance that is given to AfterConfiguration
,
and a registry_wrapper
which allows
plugins to have access to specific internal methods.
See cucumber-ruby-wire for a usage example.
More information about hooks can be found in features/docs/writing_support_code/hooks/README.md.
AfterConfiguration
is deprecated. Please use InstallPlugin
or BeforeAll
instead.
See the UPGRADING.md to update your code accordingly.
(1570)
The built-in Wire protocol
The Wire protocol is still officially supported, but as an optional plugin rather than a built-in feature. See the UPGRADING.md to update your code accordingly.