Skip to content

v1.0.1

Compare
Choose a tag to compare
@jakubsob jakubsob released this 03 Apr 19:10
· 12 commits to main since this release
  • ✨ Changed how {string} parameter is matched. It now matches on text in quotes. A step Given I have a {string} will match on Given 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 like Given I have a {word} will match on Given 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} and Given I have a {string} it will match on Given 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.