- ✨ Added scenario
before
andafter
hooks. - 📝 Added Behavior-Driven Development vignette.
- 🐛 Fix parsing error when there is a commented-out scenario after a step with a table.
- Added
test_interactive
parameter tocucumber::test
. It allows you to interactively select which feature files to run. It can be useful to get quicker feedback when developing new features.
- Fixed float detection with multiple leading numbers, e.g.
11.1
,+11.1
,-11.1
.
- Fixed CRAN debian checks.
- ✨ Changed how
{string}
parameter is matched. It now matches on text in quotes. A stepGiven I have a {string}
will match onGiven I have a "foo bar"
. This change brings the parser closer to how the original cucumber expressions work. - ✨ Added a
{word}
parameter that matches on a single word. A step likeGiven I have a {word}
will match onGiven I have a foo
. - 🐛 Fix handling of repeated parameters in the same step. Now if there are steps
Given I have a {string} and a {string}
andGiven I have a {string}
it will match onGiven I have a "foo" and a "bar"
instead of throwing an error that multiple step definitions have been found. - 📝 Improved documentation of parameters in
define_parameter_type
function docs. - 📝 Added an example with snapshot test.
First stable version 🚀