flutter/packages/integration_test/example
Matan Lurey 043b71954c
Enable --explicit-package-dependencies by default. (#160289)
Closes https://github.com/flutter/flutter/issues/160257.

~~This will sit on CI for a bit and give me a better idea of how much
work there is to do.~~ Done!

## IMPORTANT: Do **not** revert on 1-2 isolated post-submit failures.

While I've spent the last several weeks getting this passing all
presubmit tests, and some integration tests I suspected might be
affected, it is possible that there are 1-2 integration tests that will
fail as a result of landing this PR. I'll disable the flag
(`--no-explicit-package-dependencies`) if the failures look obvious
enough, otherwise I'll revert.
2025-02-21 19:25:16 +00:00
..
android Enable --explicit-package-dependencies by default. (#160289) 2025-02-21 19:25:16 +00:00
integration_test Enable goldenFileComparator fix for on-device integration tests. (#163157) 2025-02-13 16:43:05 +00:00
ios Migrate Xcode projects last version checks to Xcode 15.1 (#140256) 2024-01-03 23:05:46 +00:00
lib Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
test_driver Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
web Migrate apple-mobile-web-* to mobile-web-*. (#154964) 2024-09-11 00:39:51 +00:00
.gitignore integration_test: Add gitignore of golden image (#161404) 2025-01-09 23:36:02 +00:00
pubspec.yaml Roll pub packages (#163083) 2025-02-11 23:47:59 +00:00
README.md Added missing code block language in docs (#147481) 2024-05-01 14:44:27 +00: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