Skip to content

Releases: jakubsob/cucumber

v2.1.1

21 Jul 08:05

Choose a tag to compare

  • 🐛 Fix normalisation of feature files. #14

Full Changelog: v2.1.0...v2.1.1

v2.1.0

20 May 17:31

Choose a tag to compare

  • ✨ Added cucumber::run() function to allow running Cucumber tests alongside testthat tests.
  • 🐛 Don't normalize feature files text within docstrings or tables.
  • 🐛 Don't include docstrings and tables when validating feature files.

v2.0.0

24 Apr 20:27

Choose a tag to compare

See the migration guide.

  • ✨ You can now run specifications directly with cucumber::test() function.

v1.2.1

20 Mar 21:03

Choose a tag to compare

  • 🐛 Fix hook registering that previously could only register one hook.

Full Changelog: v1.2.0...v1.2.1

v1.2.0

24 Feb 18:35

Choose a tag to compare

What's Changed

  • ✨ Added support for "Scenario Outline", "Background" and "*" keywords.
  • ⚠️ Keywords are not taken into account when looking for a step definition. See Gherkin steps reference.
  • 🛡️ Added validation of feature files to fail early if malformed:
    • Checks for consistent indentation.
    • Check if a feature file has only one Feature.
  • ✨ Added option to set the indent of feature files. Useful when you use a different indent than the default 2 whitespaces. All user-facing options are documented in ?cucumber::opts.
  • 📝 Added "Gherkin Reference" article.

Full Changelog: v1.1.0...v1.2.0

v1.1.0

14 Oct 07:58

Choose a tag to compare

  • ✨ Added scenario before and after hooks.
  • 📝 Added Behavior-Driven Development vignette.
  • 🐛 Fix parsing error when there is a commented-out scenario after a step with a table.

1.0.4

30 Jun 11:22

Choose a tag to compare

  • Added test_interactive parameter to cucumber::test. It allows you to interactively select which feature files to run. It can be useful to get quicker feedback when developing new features.

v1.0.2

16 May 07:43

Choose a tag to compare

  • 🔧 CRAN fixes

v1.0.1

03 Apr 19:10

Choose a tag to compare

  • ✨ 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.

v1.0.0

14 Mar 20:56

Choose a tag to compare

First release