flutter/packages/integration_test/example
Bartek Pacia 85888bccf2
Update gradle lockfiles template (#140115)
This PR updates almost* all Gradle buildscripts in the Flutter repo the `example` and `dev` (in particular, in `dev/integration_tests` and in `dev/benchmarks`) directories to apply Flutter's Gradle plugins using the declarative `plugins {}` block.

*almost, because:
- add-to-app (aka hybrid) apps are not migrated (related https://github.com/flutter/flutter/issues/138756)
- apps that purposefully use build files to ensure backward compatibility (e.g. [`gradle_deprecated_settings`](https://github.com/flutter/flutter/tree/3.16.0/dev/integration_tests/gradle_deprecated_settings))
2024-02-04 13:10:49 +00:00
..
android Update gradle lockfiles template (#140115) 2024-02-04 13:10:49 +00:00
integration_test Fix screenshot testing for flutter web integration_test (#117114) 2022-12-22 21:34:04 +00:00
ios Migrate Xcode projects last version checks to Xcode 15.1 (#140256) 2024-01-03 23:05:46 +00:00
lib Bump min SDK to 2.19.0-0 (#117345) 2022-12-20 00:46:14 +00:00
test_driver make integration_test_driver_extended.dart support writeResponseData--(done) (#128382) 2023-10-17 22:17:09 +00:00
web Move package:integration_test to flutter/flutter (#69622) 2020-11-05 17:28:47 -08:00
.gitignore remove ephemeral files (#70818) 2020-11-19 10:03:09 -08:00
pubspec.yaml Unpin test (#141427) 2024-02-01 18:53:23 +00:00
README.md Add instructions to integration_test example README (#77090) 2021-03-15 11:13:05 -07:00

integration_test_example

Demonstrates how to use the package:integration_test.

To run integration_test/example_test.dart,

Android / iOS

flutter drive \
  --driver=test_driver/integration_test.dart \
  --target=integration_test/example_test.dart

Web

In one shell, run Chromedriver (download here):

chromedriver --port 8444

Then, in another shell, run flutter drive:

flutter drive \
  --driver=test_driver/integration_test.dart \
  --target=integration_test/example_test.dart \
  -d web-server