flutter/dev/integration_tests
Matan Lurey 52a6de2558
Add --local-engine-host, which if specified, is used instead of being inferred (#132180)
Closes https://github.com/flutter/flutter/issues/132162.

I did a tiny bit of minor cleanup but didn't want to go 🍔 beyond the
scope of this change. After it lands I'll update the Wiki.

## Before

```bash
$ fl run \
  --local-engine-src-path=$ENGINE \
  --local-engine=android_debug_unopt_arm64
```

... would try to use `host_debug_unopt` (i.e. Rosetta).

## After

```bash
$ fl run \
  --local-engine-src-path=$ENGINE \
  --local-engine=android_debug_unopt_arm64 \
  --local-engine-host=host_debug_unopt_arm64
```

... uses `host_debug_unopt_arm64`, as specified.

---

/cc @jonahwilliams @gaaclarke @zanderso
2023-08-10 09:38:38 -07:00
..
abstract_method_smoke_test Manual roll to engine commit 9b14c382 using Dart SDK version 3.2.x (#131371) 2023-07-27 17:33:07 +00:00
android_custom_host_app Upgrade compile and target sdk versions in tests and benchmarks (#131428) 2023-07-31 18:10:24 +00:00
android_embedding_v2_smoke_test Manual roll to engine commit 9b14c382 using Dart SDK version 3.2.x (#131371) 2023-07-27 17:33:07 +00:00
android_host_app/.gradle Reland "Branch out android platform view perf testing #60238" 2nd time (#61748) 2020-07-22 18:36:11 -07:00
android_host_app_v2_embedding Upgrade compile and target sdk versions in tests and benchmarks (#131428) 2023-07-31 18:10:24 +00:00
android_module_host_with_custom_build_v2_embedding/app/src/main/java/io/flutter/addtoapp Fix package declarations for add-to-app integration tests (#77648) 2021-03-30 14:19:02 -07:00
android_semantics_testing Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
android_views Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
channels Upgrade packages. (#131927) 2023-08-04 08:09:00 -07:00
deferred_components_test Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
external_ui Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
flavors Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
flutter_gallery Add --local-engine-host, which if specified, is used instead of being inferred (#132180) 2023-08-10 09:38:38 -07:00
gradle_deprecated_settings Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
hybrid_android_views Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
ios_add2app_life_cycle Manual roll to engine commit 9b14c382 using Dart SDK version 3.2.x (#131371) 2023-07-27 17:33:07 +00:00
ios_app_with_extensions Manual roll to engine commit 9b14c382 using Dart SDK version 3.2.x (#131371) 2023-07-27 17:33:07 +00:00
ios_host_app Remove "note that" in our documentation (as per style guide) (#120842) 2023-02-17 22:27:33 +00:00
ios_host_app_swift Set template and migrate apps to iOS 11 minimum (#101963) 2022-04-15 11:34:08 -07:00
ios_platform_view_tests Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
module_host_with_custom_build/.gradle Reland "Branch out android platform view perf testing #60238" 2nd time (#61748) 2020-07-22 18:36:11 -07:00
module_host_with_custom_build_v2_embedding Upgrade compile and target sdk versions in tests and benchmarks (#131428) 2023-07-31 18:10:24 +00:00
non_nullable Manual roll to engine commit 9b14c382 using Dart SDK version 3.2.x (#131371) 2023-07-27 17:33:07 +00:00
platform_interaction Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
release_smoke_test Upgrade packages. (#131927) 2023-08-04 08:09:00 -07:00
spell_check Upgrade packages. (#131927) 2023-08-04 08:09:00 -07:00
ui Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
web Manual roll to engine commit 9b14c382 using Dart SDK version 3.2.x (#131371) 2023-07-27 17:33:07 +00:00
web_compile_tests Manual roll to engine commit 9b14c382 using Dart SDK version 3.2.x (#131371) 2023-07-27 17:33:07 +00:00
web_e2e_tests Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
wide_gamut_test Upgrade packages. (#131927) 2023-08-04 08:09:00 -07:00
windows_startup_test Revert "Handle breaking changes in leak_tracker." (#132223) 2023-08-09 08:14:39 -07:00
README.md Added a more generous timeout period for the keyboard animation. (#62628) 2020-08-04 08:14:17 -07:00

Automated Flutter integration test suites

Each suite consists of either a complete Flutter app and a flutter_driver specification that drives tests from the UI, or a native app that is meant to integrate with Flutter for testing.

Intended for use with devicelab tests.

If you want to run a driver test locally, to debug a problem with a test, you can use this command from the appropriate subdirectory:

flutter drive -t <test> --driver <driver>

For example:

flutter drive -t lib/keyboard_resize.dart --driver test_driver/keyboard_resize_test.dart