Changes in version 2.1.1 (2025-07-21) - ๐Ÿ› Fix normalisation of feature files. #14 Changes in version 2.1.0 (2025-05-20) - โœจ 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. - ๐Ÿงช Added cucumber tests in tests/acceptance. Changes in version 2.0.1 (2025-04-26) - ๐Ÿ› Fix CRAN Debian checks. Changes in version 2.0.0 (2025-04-04) See the migration guide. - โœจ You can now run specifications directly with cucumber::test() function. Changes in version 1.2.1 (2025-03-20) - ๐Ÿ› Fix hook registering that previously could only register one hook. Changes in version 1.2.0 (2025-02-24) - โœจ 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. - โœจ after hook runs even if a scenario fails. This is useful for cleaning up resources even if a test fails unexpectedly. - โœจ 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. Changes in version 1.1.0 (2024-10-14) - โœจ 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. Changes in version 1.0.4 (2024-06-29) - 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. Changes in version 1.0.3 (2024-06-09) - Fixed float detection with multiple leading numbers, e.g. 11.1, +11.1, -11.1. Changes in version 1.0.2 (2024-04-09) - Fixed CRAN debian checks. Changes in version 1.0.1 (2024-04-03) - โœจ 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. Changes in version 1.0.0 (2024-03-14) First stable version ๐Ÿš€