Demonstrates how to use the package:integration_test
.
To run integration_test/example_test.dart
,
flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/example_test.dart
In one shell, run Chromedriver (download here):
chromedriver --port 8444
Then, in another shell, run flutter drive
:
flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/example_test.dart \
-d web-server