README.md 662 Bytes
Newer Older
1 2
# Integration tests

3 4
These tests are not hermetic, and use the actual Flutter SDK. While
they don't require actual devices, they run `flutter_tester` to test
5 6
Dart VM and Flutter integration.

7
Use this command to run (from the `flutter_tools` directory):
8 9

```shell
10
../../bin/cache/dart-sdk/bin/pub run test test/integration.shard
11
```
12 13 14 15 16 17

These tests are expensive to run and do not give meaningful coverage
information for the flutter tool (since they are black-box tests that
run the tool as a subprocess, rather than being unit tests). For this
reason, they are in a separate shard when running on continuous
integration and are not run when calculating coverage.