mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Recommend an SDK dependency in integration_test README (#79591)
This commit is contained in:
parent
887fcd72e6
commit
6459f60ffd
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user