Skip to content

Commit b816801

Browse files
authored
fix to add both flutter_test and integration_test (#109650)
1 parent 3ed14a0 commit b816801

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

packages/integration_test/README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ Add a dependency on the `integration_test` and `flutter_test` package in the
1111
`pubspec.yaml` of the example app:
1212

1313
```yaml
14-
integration_test:
15-
sdk: flutter
14+
dev_dependencies:
15+
integration_test:
16+
sdk: flutter
17+
flutter_test:
18+
sdk: flutter
1619
```
1720
1821
Create a `integration_test/` directory for your package. In this directory,
@@ -126,7 +129,7 @@ void main() {
126129
```
127130

128131
You can use a driver script to pull in the screenshot from the device.
129-
This way, you can store the images locally on your computer. On iOS, the
132+
This way, you can store the images locally on your computer. On iOS, the
130133
screenshot will also be available in Xcode test results.
131134

132135
**test_driver/integration_test.dart**
@@ -277,6 +280,7 @@ end
277280
```
278281

279282
To build `integration_test/foo_test.dart` from the command line, run:
283+
280284
```sh
281285
flutter build ios --config-only integration_test/foo_test.dart
282286
```

0 commit comments

Comments
 (0)