A Gherkin parsers and runner for Dart which is very similar to Cucumber, it provides the base BDD functionality ready for use in platform specific implementations i.e. flutter/web
MIT License
Bot releases are visible (Hide)
maybeCall
to invoke
Published by jonsamwell over 2 years ago
prepare
method on the configuration object now returns a configuration object to allow for configuration to always be immutablePublished by jonsamwell almost 3 years ago
Published by jonsamwell almost 3 years ago
Published by jonsamwell almost 3 years ago
Published by jonsamwell about 3 years ago
FeatureFileVisitor
Published by jonsamwell about 3 years ago
FeatureFileVisitor
Published by jonsamwell over 3 years ago
Published by jonsamwell over 3 years ago
Published by jonsamwell over 3 years ago
TestFailure
is no longer thrown when an expect
fails. Instead, use GherkinTestFailure
when catching errors (i.e. replace on TestFailure catch
with on GherkinTestFailure catch
) (#37).[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
Published by jonsamwell almost 4 years ago
Published by jonsamwell almost 4 years ago
Published by jonsamwell about 4 years ago
Published by jonsamwell about 4 years ago
Published by jonsamwell over 4 years ago
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
TestConfiguration
class to again reduce common boilerplate configurationPublished by jonsamwell over 4 years ago
JsonReporter
that would throw an error if an exception was logged before any scenarios have runPublished by jonsamwell over 4 years ago
[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
Published by jonsamwell over 4 years ago
Published by jonsamwell over 4 years ago
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