mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() *Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* *List which issues are fixed by this PR. You must list at least one issue.* - https://github.com/flutter/flutter/issues/128381 *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* |
||
---|---|---|
.. | ||
android | ||
integration_test | ||
ios | ||
lib | ||
test_driver | ||
web | ||
.gitignore | ||
pubspec.yaml | ||
README.md |
integration_test_example
Demonstrates how to use the package:integration_test
.
To run integration_test/example_test.dart
,
Android / iOS
flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/example_test.dart
Web
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