Releases: jonsamwell/dart_gherkin
2.0.0
[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
[1.1.9] - 24/11/2020
- Added the ability to have multiple example blocks with tags per scenario outline
1.1.8+5
[1.1.8+5] - 26/10/2020
- Ensured world is disposed after last hooks are run
1.1.8+4
[1.1.8+4] - 20/09/2020
- Fixes issues with function style step definitions not having access to the default timeout period jonsamwell/flutter_gherkin#81
1.1.8+3
1.1.8+2
[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
[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
[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
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
- Fixed issue with empty cells in scenario table parameters
- Fixed issue with a leading comment in feature files