chore(lib): updated to latest dart_gherkin library

test(example): added scenario outline example
chore(lib): bumped version
This commit is contained in:
Jon Samwell 2019-08-25 08:56:46 +10:00
parent 24655197b4
commit e721699f13
5 changed files with 23 additions and 4 deletions

View File

@ -1,3 +1,6 @@
## [1.0.8] - 25/08/2019
* Updated to latest dart_gherkin lib which now has support for 'Scenerio Outline' and 'Example' blocks
## [1.0.7] - 23/08/2019
* Updated to latest dart_gherkin lib

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,16 @@
Feature: Counter
The counter should be incremented when the button is pressed.
@scenario_outline
Scenario Outline: Counter increases when the button is pressed
Given I pick the colour red
Given I expect the "counter" to be "0"
When I tap the "increment" button <tap_amount> times
Then I expect the "counter" to be "<tap_amount>"
Examples:
| tap_amount |
| 1 |
| 2 |
| 5 |
| 10 |

View File

@ -104,7 +104,7 @@ packages:
name: gherkin
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.5"
version: "1.0.7"
glob:
dependency: "direct main"
description:

View File

@ -1,6 +1,6 @@
name: flutter_gherkin
description: A Gherkin / Cucumber parser and test runner for Dart and Flutter
version: 1.0.7
version: 1.0.8
author: Jon Samwell <jonsamwell@gmail.com>
homepage: https://github.com/jonsamwell/flutter_gherkin
@ -16,7 +16,7 @@ dependencies:
sdk: flutter
glob: ^1.1.7
meta: ">=1.1.6 <=1.1.7"
gherkin: ^1.0.5
gherkin: ^1.0.7
dev_dependencies:
test: ">=1.6.1 <=1.6.4"