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:
Comments are closed.