Skip to content

Releases: jonsamwell/dart_gherkin

2.0.0

15 Apr 03:08
Compare
Choose a tag to compare

[2.0.0] - 15/02/2021

NOTE: Massive changes here due to the migration to null-safety and laying the foundation for code generation to enable testing Flutter apps using the integration_test package.

BREAKING CHANGE: Migration to null-safety, some parameter have become nullable which may lead to subtle unexpected results. Please file any issue you come across.
BREAKING CHANGE: Table has been renamed to GherkinTable to avoid naming clashes
BREAKING CHANGE: Null-safety updated all libs to their stable null-safety releases
BREAKING CHANGE: exitAfterTestRun configuration option has been removed as it need to import dart:io which is not available under certain environments (dartjs for example).
BREAKING CHANGE: exitAfterTestFailed configuration option renamed to stopAfterTestFailed
BREAKING CHANGE: Reporter->onException() exception parameter is now an object rather than an exception
POSSIBLE BREAKING CHANGE: Feature file discovery has been refactored to abstract it from the external Glob dependency. It now support the three native dart Patterns (String, RegExp & Glob). There is potential here your patterns may not work anymore due as the default IoFeatureFileAccessor assumes the current directory is the working directory to search from. Thanks to @marcin-jelenski for the PR
Execution order can now be sorted alphabetically to ensure a consistent order thanks to @bartonhammond
Fixed #22 Tags are not taking into account after an Example block
Fixed #23: Multiline strings to support YAML format thanks to @tshedor for the PR!
Fixed #29: French keyword "Lorsqu'il" makes parser crash

1.1.9

24 Nov 04:50
Compare
Choose a tag to compare

[1.1.9] - 24/11/2020

  • Added the ability to have multiple example blocks with tags per scenario outline

1.1.8+5

26 Oct 05:21
Compare
Choose a tag to compare

[1.1.8+5] - 26/10/2020

  • Ensured world is disposed after last hooks are run

1.1.8+4

20 Sep 04:00
Compare
Choose a tag to compare

[1.1.8+4] - 20/09/2020

1.1.8+3

04 Aug 23:32
Compare
Choose a tag to compare

[1.1.8+3] - 05/08/2020

  • Fixes issues with non-alpha-numeric characters in multiline strings and comments #14 #15 #16

1.1.8+2

16 Jul 23:57
Compare
Choose a tag to compare

[1.1.8+2] - 17/07/2020

  • Added shorthand steps given(), when1(), then2() etc to reduce boilerplate code and the need to create a class for every step. Heavily inspired from the excellent ideas in https://github.com/technogise/flutter_gherkin_addons
  • Added a default static method to the TestConfiguration class to again reduce common boilerplate configuration

1.1.8+1

11 May 01:56
Compare
Choose a tag to compare

[1.1.8+1] - 11/05/2020

  • Fixed issue with JsonReporter that would throw an error if an exception was logged before any scenarios have run

V1.1.8

10 May 00:01
Compare
Choose a tag to compare

[1.1.8] - 10/05/2020
Fixed issue with JsonReporter that would throw an error if an exception was logged before any features have run

v1.1.7

05 Mar 12:10
Compare
Choose a tag to compare

Now passing scenario tags into scenario level hooks to allow for custom actions - this is a breaking changed to the Hook interface and hook implementations will need to be updated to cope with the extra parameter

v1.1.6+4

05 Mar 22:54
Compare
Choose a tag to compare
  • Fixed issue with empty cells in scenario table parameters
  • Fixed issue with a leading comment in feature files