Recommend an SDK dependency in integration_test README (#79591)

This commit is contained in:
John Ryan 2021-04-08 15:39:03 -07:00 committed by GitHub
parent 887fcd72e6
commit 6459f60ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,12 @@ and native Android instrumentation testing.
Add a dependency on the `integration_test` and `flutter_test` package in the
`dev_dependencies` section of `pubspec.yaml`. For plugins, do this in the
`pubspec.yaml` of the example app.
`pubspec.yaml` of the example app:
```yaml
integration_test:
sdk: flutter
```
Create a `integration_test/` directory for your package. In this directory,
create a `<name>_test.dart`, using the following as a starting point to make