2020-08-04 15:14:17 +00:00
|
|
|
# Automated Flutter integration test suites
|
|
|
|
|
|
|
|
Each suite consists of either a complete Flutter app and a `flutter_driver`
|
|
|
|
specification that drives tests from the UI, or a native app that is meant to
|
|
|
|
integrate with Flutter for testing.
|
2017-04-27 06:44:28 +00:00
|
|
|
|
2018-11-09 19:07:22 +00:00
|
|
|
Intended for use with devicelab tests.
|
2019-09-28 07:22:37 +00:00
|
|
|
|
2020-08-04 15:14:17 +00:00
|
|
|
If you want to run a driver test locally, to debug a problem with a test, you
|
|
|
|
can use this command from the appropriate subdirectory:
|
2019-09-28 07:22:37 +00:00
|
|
|
|
|
|
|
```shell
|
2020-08-04 15:14:17 +00:00
|
|
|
flutter drive -t <test> --driver <driver>
|
|
|
|
```
|
|
|
|
|
|
|
|
For example:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
flutter drive -t lib/keyboard_resize.dart --driver test_driver/keyboard_resize_test.dart
|
2019-09-28 07:22:37 +00:00
|
|
|
```
|