File size: 590 Bytes
608ec36 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | # integration_test_example
Demonstrates how to use the `package:integration_test`.
To run `integration_test/example_test.dart`,
## Android / iOS
```sh
flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/example_test.dart
```
## Web
In one shell, run Chromedriver ([download
here](https://chromedriver.chromium.org/downloads)):
```
chromedriver --port 8444
```
Then, in another shell, run `flutter drive`:
```sh
flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/example_test.dart \
-d web-server
```
|