From 1ac4b909af30b6ea81808750f6801c57094235ff Mon Sep 17 00:00:00 2001 From: Jon Samwell Date: Thu, 5 Dec 2019 17:12:59 +1100 Subject: [PATCH] chore(lib): updated to latest gherkin lib --- CHANGELOG.md | 3 +++ example/pubspec.yaml | 4 ++-- example/report.json | 2 +- pubspec.lock | 24 +++++++++++++++++++----- pubspec.yaml | 4 ++-- 5 files changed, 27 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 057a0f6..140ed7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [1.1.5] - 05/12/2019 +* Updated to latest Gherkin library (see https://github.com/jonsamwell/dart_gherkin/blob/master/CHANGELOG.md#115---05122019) + ## [1.1.4] - 27/09/2019 * Added configuration parameter `flutterBuildTimeout` to allow setting the app build wait timeout. Slower machines may need longer to build and start the Flutter app under test. * Now logging the flutter driver command used when the configuration setting `logFlutterProcessOutput` is true diff --git a/example/pubspec.yaml b/example/pubspec.yaml index fc4c6e6..3afebf0 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -15,8 +15,6 @@ environment: dependencies: flutter: sdk: flutter - path: ^1.6.2 - glob: ^1.1.7 # The following adds the Cupertino Icons font to your application. @@ -30,6 +28,8 @@ dev_dependencies: sdk: flutter flutter_gherkin: path: ../ + path: + glob: # For information on the generic Dart part of this file, see the # following page: https://www.dartlang.org/tools/pub/pubspec diff --git a/example/report.json b/example/report.json index 59e0dfa..c430666 100644 --- a/example/report.json +++ b/example/report.json @@ -1 +1 @@ -[{"description":"","id":"startup","keyword":"Feature","line":1,"name":"Startup","uri":".\\test_driver\\features\\counter.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"startup;should increment counter","name":"should increment counter","description":"","line":3,"steps":[{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":4,"match":{"location":".\\test_driver\\features\\counter.feature:4"},"result":{"status":"passed","duration":42000000}},{"keyword":"When ","name":"I tap the \"increment\" button","line":5,"match":{"location":".\\test_driver\\features\\counter.feature:5"},"result":{"status":"passed","duration":308000000}},{"keyword":"And ","name":"I tap the \"increment\" button","line":6,"match":{"location":".\\test_driver\\features\\counter.feature:6"},"result":{"status":"passed","duration":239000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"2\"","line":7,"match":{"location":".\\test_driver\\features\\counter.feature:7"},"result":{"status":"passed","duration":28000000}}]},{"keyword":"Scenario","type":"scenario","id":"startup;counter should reset when app is restarted","name":"counter should reset when app is restarted","description":"","line":9,"steps":[{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":10,"match":{"location":".\\test_driver\\features\\counter.feature:10"},"result":{"status":"passed","duration":33000000}},{"keyword":"When ","name":"I tap the \"increment\" button","line":11,"match":{"location":".\\test_driver\\features\\counter.feature:11"},"result":{"status":"passed","duration":299000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"1\"","line":12,"match":{"location":".\\test_driver\\features\\counter.feature:12"},"result":{"status":"passed","duration":24000000}},{"keyword":"When ","name":"I restart the app","line":13,"match":{"location":".\\test_driver\\features\\counter.feature:13"},"result":{"status":"passed","duration":3048000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"0\"","line":14,"match":{"location":".\\test_driver\\features\\counter.feature:14"},"result":{"status":"passed","duration":33000000}}]}]},{"description":"","id":"drawer","keyword":"Feature","line":1,"name":"Drawer","uri":".\\test_driver\\features\\drawer.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"drawer;should open the drawer","name":"should open the drawer","description":"","line":3,"steps":[{"keyword":"Given ","name":"I open the drawer","line":4,"match":{"location":".\\test_driver\\features\\drawer.feature:4"},"result":{"status":"passed","duration":1442000000}},{"keyword":"Given ","name":"I close the drawer","line":5,"match":{"location":".\\test_driver\\features\\drawer.feature:5"},"result":{"status":"passed","duration":391000000}}]}]},{"description":"","id":"counter","keyword":"Feature","line":1,"name":"Counter","uri":".\\test_driver\\features\\sub-features\\counter_increases.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"counter;counter increases when the button is pressed","name":"Counter increases when the button is pressed","description":"","line":5,"tags":[{"line":4,"name":"@perf"}],"steps":[{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":6,"match":{"location":".\\test_driver\\features\\sub-features\\counter_increases.feature:6"},"result":{"status":"passed","duration":33000000}},{"keyword":"When ","name":"I tap the \"increment\" button 20 times","line":7,"match":{"location":".\\test_driver\\features\\sub-features\\counter_increases.feature:7"},"result":{"status":"passed","duration":4910000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"20\"","line":8,"match":{"location":".\\test_driver\\features\\sub-features\\counter_increases.feature:8"},"result":{"status":"passed","duration":23000000}}]}]},{"description":"","id":"custom parameter example","keyword":"Feature","line":1,"name":"Custom Parameter Example","uri":".\\test_driver\\features\\custom_parameter_example.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"custom parameter example;custom colour parameter","name":"Custom colour parameter","description":"","line":4,"steps":[{"keyword":"Given ","name":"I pick the colour red","line":5,"match":{"location":".\\test_driver\\features\\custom_parameter_example.feature:5"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I pick the colour green","line":6,"match":{"location":".\\test_driver\\features\\custom_parameter_example.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I pick the colour blue","line":7,"match":{"location":".\\test_driver\\features\\custom_parameter_example.feature:7"},"result":{"status":"passed","duration":0}}]}]},{"description":"","id":"counter","keyword":"Feature","line":2,"name":"Counter","uri":".\\test_driver\\features\\counter_increases_french.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"counter;counter increases when the button is pressed","name":"Counter increases when the button is pressed","description":"","line":6,"tags":[{"line":5,"name":"@smoke"}],"steps":[{"keyword":"Etant ","name":"donné que I pick the colour red","line":7,"match":{"location":".\\test_driver\\features\\counter_increases_french.feature:7"},"result":{"status":"passed","duration":0}},{"keyword":"Et ","name":"I expect the \"counter\" to be \"0\"","line":8,"match":{"location":".\\test_driver\\features\\counter_increases_french.feature:8"},"result":{"status":"passed","duration":33000000}},{"keyword":"Quand ","name":"I tap the \"increment\" button 10 times","line":9,"match":{"location":".\\test_driver\\features\\counter_increases_french.feature:9"},"result":{"status":"passed","duration":2490000000}},{"keyword":"Alors ","name":"I expect the \"counter\" to be \"10\"","line":10,"match":{"location":".\\test_driver\\features\\counter_increases_french.feature:10"},"result":{"status":"passed","duration":27000000}}]}]},{"description":"","id":"startup","keyword":"Feature","line":1,"name":"Startup","uri":".\\test_driver\\features\\app_restart.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"startup;counter should reset when app is restarted","name":"counter should reset when app is restarted","description":"","line":3,"steps":[{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":4,"match":{"location":".\\test_driver\\features\\app_restart.feature:4"},"result":{"status":"passed","duration":34000000}},{"keyword":"When ","name":"I tap the \"increment\" button","line":5,"match":{"location":".\\test_driver\\features\\app_restart.feature:5"},"result":{"status":"passed","duration":309000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"1\"","line":6,"match":{"location":".\\test_driver\\features\\app_restart.feature:6"},"result":{"status":"passed","duration":28000000}},{"keyword":"When ","name":"I restart the app","line":7,"match":{"location":".\\test_driver\\features\\app_restart.feature:7"},"result":{"status":"passed","duration":2990000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"0\"","line":8,"match":{"location":".\\test_driver\\features\\app_restart.feature:8"},"result":{"status":"passed","duration":32000000}}]}]},{"description":"","id":"counter","keyword":"Feature","line":1,"name":"Counter","uri":".\\test_driver\\features\\counter_increases.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"counter;counter increases when the button is pressed","name":"Counter increases when the button is pressed","description":"","line":5,"tags":[{"line":4,"name":"@smoke"}],"steps":[{"keyword":"Given ","name":"I pick the colour red","line":6,"match":{"location":".\\test_driver\\features\\counter_increases.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":7,"match":{"location":".\\test_driver\\features\\counter_increases.feature:7"},"result":{"status":"passed","duration":32000000}},{"keyword":"When ","name":"I tap the \"increment\" button 10 times","line":8,"match":{"location":".\\test_driver\\features\\counter_increases.feature:8"},"result":{"status":"passed","duration":2487000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"10\"","line":9,"match":{"location":".\\test_driver\\features\\counter_increases.feature:9"},"result":{"status":"passed","duration":26000000}}]}]},{"description":"","id":"counter","keyword":"Feature","line":1,"name":"Counter","uri":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature","elements":[{"keyword":"Scenario Outline","type":"scenario","id":"counter;counter increases when the button is pressed (example 1)","name":"Counter increases when the button is pressed (Example 1)","description":"","line":5,"tags":[{"line":4,"name":"@scenario_outline"}],"steps":[{"keyword":"Given ","name":"I pick the colour red","line":6,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":7,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:7"},"result":{"status":"passed","duration":32000000}},{"keyword":"When ","name":"I tap the \"increment\" button 1 times","line":8,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:8"},"result":{"status":"passed","duration":285000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"1\"","line":9,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:9"},"result":{"status":"passed","duration":23000000}}]},{"keyword":"Scenario Outline","type":"scenario","id":"counter;counter increases when the button is pressed (example 2)","name":"Counter increases when the button is pressed (Example 2)","description":"","line":5,"tags":[{"line":4,"name":"@scenario_outline"}],"steps":[{"keyword":"Given ","name":"I pick the colour red","line":6,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":7,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:7"},"result":{"status":"passed","duration":32000000}},{"keyword":"When ","name":"I tap the \"increment\" button 2 times","line":8,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:8"},"result":{"status":"passed","duration":538000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"2\"","line":9,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:9"},"result":{"status":"passed","duration":23000000}}]},{"keyword":"Scenario Outline","type":"scenario","id":"counter;counter increases when the button is pressed (example 3)","name":"Counter increases when the button is pressed (Example 3)","description":"","line":5,"tags":[{"line":4,"name":"@scenario_outline"}],"steps":[{"keyword":"Given ","name":"I pick the colour red","line":6,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":7,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:7"},"result":{"status":"passed","duration":33000000}},{"keyword":"When ","name":"I tap the \"increment\" button 5 times","line":8,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:8"},"result":{"status":"passed","duration":1290000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"5\"","line":9,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:9"},"result":{"status":"passed","duration":27000000}}]},{"keyword":"Scenario Outline","type":"scenario","id":"counter;counter increases when the button is pressed (example 4)","name":"Counter increases when the button is pressed (Example 4)","description":"","line":5,"tags":[{"line":4,"name":"@scenario_outline"}],"steps":[{"keyword":"Given ","name":"I pick the colour red","line":6,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":7,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:7"},"result":{"status":"passed","duration":32000000}},{"keyword":"When ","name":"I tap the \"increment\" button 10 times","line":8,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:8"},"result":{"status":"passed","duration":2508000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"10\"","line":9,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:9"},"result":{"status":"passed","duration":29000000}}]}]}] \ No newline at end of file +[{"description":"","id":"drawer","keyword":"Feature","line":1,"name":"Drawer","uri":".\\test_driver\\features\\drawer.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"drawer;should open the drawer","name":"should open the drawer","description":"","line":3,"steps":[{"keyword":"Given ","name":"I open the drawer","line":4,"match":{"location":".\\test_driver\\features\\drawer.feature:4"},"result":{"status":"passed","duration":1448000000}},{"keyword":"Given ","name":"I close the drawer","line":5,"match":{"location":".\\test_driver\\features\\drawer.feature:5"},"result":{"status":"passed","duration":389000000}}]}]},{"description":"","id":"startup","keyword":"Feature","line":1,"name":"Startup","uri":".\\test_driver\\features\\counter.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"startup;should increment counter","name":"should increment counter","description":"","line":3,"steps":[{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":4,"match":{"location":".\\test_driver\\features\\counter.feature:4"},"result":{"status":"passed","duration":38000000}},{"keyword":"When ","name":"I tap the \"increment\" button","line":5,"match":{"location":".\\test_driver\\features\\counter.feature:5"},"result":{"status":"passed","duration":302000000}},{"keyword":"And ","name":"I tap the \"increment\" button","line":6,"match":{"location":".\\test_driver\\features\\counter.feature:6"},"result":{"status":"passed","duration":248000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"2\"","line":7,"match":{"location":".\\test_driver\\features\\counter.feature:7"},"result":{"status":"passed","duration":25000000}}]},{"keyword":"Scenario","type":"scenario","id":"startup;counter should reset when app is restarted","name":"counter should reset when app is restarted","description":"","line":9,"steps":[{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":10,"match":{"location":".\\test_driver\\features\\counter.feature:10"},"result":{"status":"passed","duration":34000000}},{"keyword":"When ","name":"I tap the \"increment\" button","line":11,"match":{"location":".\\test_driver\\features\\counter.feature:11"},"result":{"status":"passed","duration":300000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"1\"","line":12,"match":{"location":".\\test_driver\\features\\counter.feature:12"},"result":{"status":"passed","duration":24000000}},{"keyword":"When ","name":"I restart the app","line":13,"match":{"location":".\\test_driver\\features\\counter.feature:13"},"result":{"status":"passed","duration":2111000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"0\"","line":14,"match":{"location":".\\test_driver\\features\\counter.feature:14"},"result":{"status":"passed","duration":33000000}}]}]},{"description":"","id":"counter","keyword":"Feature","line":1,"name":"Counter","uri":".\\test_driver\\features\\counter_increases.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"counter;counter increases when the button is pressed","name":"Counter increases when the button is pressed","description":"","line":5,"tags":[{"line":4,"name":"@smoke"}],"steps":[{"keyword":"Given ","name":"I pick the colour red","line":6,"match":{"location":".\\test_driver\\features\\counter_increases.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":7,"match":{"location":".\\test_driver\\features\\counter_increases.feature:7"},"result":{"status":"passed","duration":31000000}},{"keyword":"When ","name":"I tap the \"increment\" button 10 times","line":8,"match":{"location":".\\test_driver\\features\\counter_increases.feature:8"},"result":{"status":"passed","duration":2505000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"10\"","line":9,"match":{"location":".\\test_driver\\features\\counter_increases.feature:9"},"result":{"status":"passed","duration":25000000}}]}]},{"description":"","id":"startup","keyword":"Feature","line":1,"name":"Startup","uri":".\\test_driver\\features\\app_restart.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"startup;counter should reset when app is restarted","name":"counter should reset when app is restarted","description":"","line":3,"steps":[{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":4,"match":{"location":".\\test_driver\\features\\app_restart.feature:4"},"result":{"status":"passed","duration":31000000}},{"keyword":"When ","name":"I tap the \"increment\" button","line":5,"match":{"location":".\\test_driver\\features\\app_restart.feature:5"},"result":{"status":"passed","duration":316000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"1\"","line":6,"match":{"location":".\\test_driver\\features\\app_restart.feature:6"},"result":{"status":"passed","duration":22000000}},{"keyword":"When ","name":"I restart the app","line":7,"match":{"location":".\\test_driver\\features\\app_restart.feature:7"},"result":{"status":"passed","duration":2098000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"0\"","line":8,"match":{"location":".\\test_driver\\features\\app_restart.feature:8"},"result":{"status":"passed","duration":34000000}}]}]},{"description":"","id":"counter","keyword":"Feature","line":1,"name":"Counter","uri":".\\test_driver\\features\\sub-features\\counter_increases.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"counter;counter increases when the button is pressed","name":"Counter increases when the button is pressed","description":"","line":5,"tags":[{"line":4,"name":"@perf"}],"steps":[{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":6,"match":{"location":".\\test_driver\\features\\sub-features\\counter_increases.feature:6"},"result":{"status":"passed","duration":32000000}},{"keyword":"When ","name":"I tap the \"increment\" button 20 times","line":7,"match":{"location":".\\test_driver\\features\\sub-features\\counter_increases.feature:7"},"result":{"status":"passed","duration":4942000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"20\"","line":8,"match":{"location":".\\test_driver\\features\\sub-features\\counter_increases.feature:8"},"result":{"status":"passed","duration":24000000}}]}]},{"description":"","id":"custom parameter example","keyword":"Feature","line":1,"name":"Custom Parameter Example","uri":".\\test_driver\\features\\custom_parameter_example.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"custom parameter example;custom colour parameter","name":"Custom colour parameter","description":"","line":4,"steps":[{"keyword":"Given ","name":"I pick the colour red","line":5,"match":{"location":".\\test_driver\\features\\custom_parameter_example.feature:5"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I pick the colour green","line":6,"match":{"location":".\\test_driver\\features\\custom_parameter_example.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I pick the colour blue","line":7,"match":{"location":".\\test_driver\\features\\custom_parameter_example.feature:7"},"result":{"status":"passed","duration":1000000}}]}]},{"description":"","id":"counter","keyword":"Feature","line":1,"name":"Counter","uri":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature","elements":[{"keyword":"Scenario Outline","type":"scenario","id":"counter;counter increases when the button is pressed (example 1)","name":"Counter increases when the button is pressed (Example 1)","description":"","line":5,"tags":[{"line":4,"name":"@scenario_outline"}],"steps":[{"keyword":"Given ","name":"I pick the colour red","line":6,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":7,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:7"},"result":{"status":"passed","duration":33000000}},{"keyword":"When ","name":"I tap the \"increment\" button 1 times","line":8,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:8"},"result":{"status":"passed","duration":290000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"1\"","line":9,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:9"},"result":{"status":"passed","duration":24000000}}]},{"keyword":"Scenario Outline","type":"scenario","id":"counter;counter increases when the button is pressed (example 2)","name":"Counter increases when the button is pressed (Example 2)","description":"","line":5,"tags":[{"line":4,"name":"@scenario_outline"}],"steps":[{"keyword":"Given ","name":"I pick the colour red","line":6,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":7,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:7"},"result":{"status":"passed","duration":36000000}},{"keyword":"When ","name":"I tap the \"increment\" button 2 times","line":8,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:8"},"result":{"status":"passed","duration":543000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"2\"","line":9,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:9"},"result":{"status":"passed","duration":25000000}}]},{"keyword":"Scenario Outline","type":"scenario","id":"counter;counter increases when the button is pressed (example 3)","name":"Counter increases when the button is pressed (Example 3)","description":"","line":5,"tags":[{"line":4,"name":"@scenario_outline"}],"steps":[{"keyword":"Given ","name":"I pick the colour red","line":6,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":7,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:7"},"result":{"status":"passed","duration":35000000}},{"keyword":"When ","name":"I tap the \"increment\" button 5 times","line":8,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:8"},"result":{"status":"passed","duration":1268000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"5\"","line":9,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:9"},"result":{"status":"passed","duration":21000000}}]},{"keyword":"Scenario Outline","type":"scenario","id":"counter;counter increases when the button is pressed (example 4)","name":"Counter increases when the button is pressed (Example 4)","description":"","line":5,"tags":[{"line":4,"name":"@scenario_outline"}],"steps":[{"keyword":"Given ","name":"I pick the colour red","line":6,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:6"},"result":{"status":"passed","duration":0}},{"keyword":"Given ","name":"I expect the \"counter\" to be \"0\"","line":7,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:7"},"result":{"status":"passed","duration":30000000}},{"keyword":"When ","name":"I tap the \"increment\" button 10 times","line":8,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:8"},"result":{"status":"passed","duration":2526000000}},{"keyword":"Then ","name":"I expect the \"counter\" to be \"10\"","line":9,"match":{"location":".\\test_driver\\features\\counter_increases_scenerio_outline_example.feature:9"},"result":{"status":"passed","duration":28000000}}]}]},{"description":"","id":"counter","keyword":"Feature","line":2,"name":"Counter","uri":".\\test_driver\\features\\counter_increases_french.feature","elements":[{"keyword":"Scenario","type":"scenario","id":"counter;counter increases when the button is pressed","name":"Counter increases when the button is pressed","description":"","line":6,"tags":[{"line":5,"name":"@smoke"}],"steps":[{"keyword":"Etant ","name":"donné que I pick the colour red","line":7,"match":{"location":".\\test_driver\\features\\counter_increases_french.feature:7"},"result":{"status":"passed","duration":0}},{"keyword":"Et ","name":"I expect the \"counter\" to be \"0\"","line":8,"match":{"location":".\\test_driver\\features\\counter_increases_french.feature:8"},"result":{"status":"passed","duration":33000000}},{"keyword":"Quand ","name":"I tap the \"increment\" button 10 times","line":9,"match":{"location":".\\test_driver\\features\\counter_increases_french.feature:9"},"result":{"status":"passed","duration":2492000000}},{"keyword":"Alors ","name":"I expect the \"counter\" to be \"10\"","line":10,"match":{"location":".\\test_driver\\features\\counter_increases_french.feature:10"},"result":{"status":"passed","duration":22000000}}]}]}] \ No newline at end of file diff --git a/pubspec.lock b/pubspec.lock index 36fe02f..76ff41f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -104,21 +104,21 @@ packages: name: gherkin url: "https://pub.dartlang.org" source: hosted - version: "1.1.3" + version: "1.1.5" glob: dependency: "direct main" description: name: glob url: "https://pub.dartlang.org" source: hosted - version: "1.1.7" + version: "1.2.0" html: dependency: transitive description: name: html url: "https://pub.dartlang.org" source: hosted - version: "0.14.0+2" + version: "0.14.0+3" http: dependency: transitive description: @@ -203,6 +203,20 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.2" + node_interop: + dependency: transitive + description: + name: node_interop + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + node_io: + dependency: transitive + description: + name: node_io + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1+2" node_preamble: dependency: transitive description: @@ -403,7 +417,7 @@ packages: name: watcher url: "https://pub.dartlang.org" source: hosted - version: "0.9.7+12" + version: "0.9.7+13" web_socket_channel: dependency: transitive description: @@ -419,4 +433,4 @@ packages: source: hosted version: "2.2.0" sdks: - dart: ">=2.2.2 <3.0.0" + dart: ">=2.3.0 <3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index c174fbe..dfc9ca6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_gherkin description: A Gherkin / Cucumber parser and test runner for Dart and Flutter -version: 1.1.4 +version: 1.1.5 author: Jon Samwell homepage: https://github.com/jonsamwell/flutter_gherkin @@ -16,7 +16,7 @@ dependencies: sdk: flutter glob: ^1.1.7 meta: ">=1.1.6 <2.0.0" - gherkin: ^1.1.3 + gherkin: ^1.1.5 dev_dependencies: test: ">=1.6.1 <1.7.0"