- Fixed issue with
JsonReporter
that would throw an error if an exception was logged before any scenarios have run
- Fixed issue with
JsonReporter
that would throw an error if an exception was logged before any features have run
- Pass 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
- Fixed issue with empty cells in scenario table parameters
- Fixed issue with a leading comment in feature files
- Fixed issue with scenario not being parsed correctly when under a scenario outline in the same feature file
- Fixed issue with non-capturing regex groups in step patterns and made the well known pluralization parameter '(s)' a non-capturing regex group
- Ensured async errors when executing a scenario do not cause the whole test run to crash from an unhandled exception or error - each scenario is now run in its own zone
- Ensured async errors when executing a scenario do not cause the whole test run to crash from an unhandled exception - each scenario is now run in its own zone
- Surfaced library exception types
- Ensured stack traces are propagated when an error occurs during test execution
- Fixed error with message from GherkinStepNotDefinedException that would include the Gherkin keyword in the example regex pattern
- Require Dart 2.3.0 or greater
- Fixed various analysis errors
- Fixed lint errors
- Allowed comments at the end of a table line
- Moved
onBeforeScenario
hook to run after the scenario world has been created to allow the hook to access the world
- Relaxed constraint on the test lib
- Fixed issue with scenario outline name being reported incorrectly
- Added
asMap
helper method to a table so a table can be represented as a map to help with serialization to types
- Implemented languages - features can now be written in different languages / dialects! See https://cucumber.io/docs/gherkin/reference/#overview for supported dialects.
- Fixed version constraint analysis errors
- Fixed path dependency to be backwards compatible with flutter_driver
- Updated test dependency
- Fixed issue where tags were not allowed on features
- Refactor of the way tags are handled so they are inherited by children if required (see https://cucumber.io/docs/cucumber/api/#tag-inheritance)
- Fixed the JSON reporter so that is adheres to to the cucumber json reporter spec.
- Fix an issue where line terminators where not allowed in well known {string} parameters
- Fix path dependency resolution
- Added 'Scenario Outline' and 'Example' functionality (see: example/features/calculator_scenerio_outline_example.feature)
- Fixed issue with parsing a negative number when using the '{num}' parameter in a step
- Fixed complex co-variant issue with step code definitions
- Fixed parsing issue when Background block has no name
- Fix for dart analysis covariance complaints with step definition input generic types
- Fix dependencies conflict with flutter_test and flutter_driver
- Updated dependencies
- Added the ability to add attachments which gives the ability to set screenshots or other data against the scenario
- Added before & after hooks for step execution
- Fixed throw Error sub types not getting handle properly and halting test execution fixes jonsamwell#2
- Fixed linter warnings
- Made v1 release as api's are stable
- Exported missing step and process classes
- Added JSON reporter that can be use to generate HTML reports (PR from @Holloweye)
- Fixed up more issues with pubspec.yaml
- Fixed up issues with pubspec.yaml
- Migration of core Gherkin code from flutter_gherkin package (https://github.com/jonsamwell/flutter_gherkin) so there is not Flutter specific dependencies on the core Gherkin functionality.