flutter_gherkin_automated 0.0.1-rc.10 copy "flutter_gherkin_automated: ^0.0.1-rc.10" to clipboard
flutter_gherkin_automated: ^0.0.1-rc.10 copied to clipboard

outdated

A Gherkin / Cucumber automated bindings generator for Dart and Flutter

flutter_gherkin_automated #

Generate gherkin automated tests

Preliminary: integration tests performance vs. development #

Original flutter_gherkin BDD test generator uses integration test bindings only. It takes seconds for each 'Tap button' and etc. Simple feature takes minutes. While such behaviour is appropriate for real world testing it make BDD completely unusable at development stage.

flutter test vs flutter driver #

I already has 4x speed improvement using custom integration testing bindings and flutter test instead of flutter drive. Also flutter test gives me ability to perform coverage analysis.

AutomatedTestWidgetsFlutterBinding #

Here i demonstrate automated bindings generator concept.

On some pre-production project i will use for automated test:

time (flutter test --coverage -j 10)

and for integration test:

time (flutter drive --driver=test_driver/integration_test_driver.dart \
    --target=integration_test/gherkin_suite_test_fast.dart -d web-server)

Results #

I have more than 40X speed improvement on i9:

image

2
likes
0
pub points
13%
popularity

Publisher

verified publishermtbo.org

A Gherkin / Cucumber automated bindings generator for Dart and Flutter

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

analyzer, build, clock, collection, flutter, flutter_driver, flutter_gherkin, flutter_test, gherkin, glob, integration_test, source_gen

More

Packages that depend on flutter_gherkin_automated