README.md 590 Bytes
Newer Older
1 2 3 4 5 6
# integration_test_example

Demonstrates how to use the `package:integration_test`.

To run `integration_test/example_test.dart`,

7
## Android / iOS
8 9 10 11 12 13 14

```sh
flutter drive \
  --driver=test_driver/integration_test.dart \
  --target=integration_test/example_test.dart
```

15 16 17 18 19 20 21 22 23 24
## Web

In one shell, run Chromedriver ([download
here](https://chromedriver.chromium.org/downloads)):

```
chromedriver --port 8444
```

Then, in another shell, run `flutter drive`:
25 26 27 28 29 30 31

```sh
flutter drive \
  --driver=test_driver/integration_test.dart \
  --target=integration_test/example_test.dart \
  -d web-server
```