flutter/dev/integration_tests
Jackson Gardner 31209d04ff
flutter test --wasm support (#145347)
* Adds support for `flutter test --wasm`.
  * The test compilation flow is a bit different now, so that it supports compilers other than DDC. Specifically, when we run a set of unit tests, we generate a "switchboard" main function that imports each unit test and runs the main function for a specific one based off of a value set by the JS bootstrapping code. This way, there is one compile step and the same compile output is invoked for each unit test file.
* Also, removes all references to `dart:html` from flutter/flutter.
* Adds CI steps for running the framework unit tests with dart2wasm+skwasm
  * These steps are marked as `bringup: true`, so we don't know what kind of failures they will result in. Any failures they have will not block the tree at all yet while we're still in `bringup: true`. Once this PR is merged, I plan on looking at any failures and either fixing them or disabling them so we can get these CI steps running on presubmit.

This fixes https://github.com/flutter/flutter/issues/126692
2024-03-21 20:08:07 +00:00
..
abstract_method_smoke_test [flutter_tools] Update external link in Android manifest template (#144302) 2024-02-29 06:47:19 +00:00
android_custom_host_app Update android templates to use target sdk 34 (#144641) 2024-03-06 19:15:07 +00:00
android_embedding_v2_smoke_test Roll pub packages (#145476) 2024-03-21 00:09:24 +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 Update android templates to use target sdk 34 (#144641) 2024-03-06 19:15:07 +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 Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
android_verified_input Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
android_views Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
channels Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
deferred_components_test Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
external_textures Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
flavors Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
flutter_gallery Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
gradle_deprecated_settings Reverts "Roll pub packages (#145509)" (#145550) 2024-03-21 17:32:48 +00:00
hybrid_android_views Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
ios_add2app_life_cycle Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
ios_app_with_extensions Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
ios_host_app Retry button tap in [FlutterUITests testFlutterViewWarm] (#143967) 2024-02-23 16:13:21 +00:00
ios_host_app_swift Migrate Xcode projects last version checks to Xcode 15.1 (#140256) 2024-01-03 23:05:46 +00:00
ios_platform_view_tests Roll pub packages (#145476) 2024-03-21 00:09:24 +00: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 Update android templates to use target sdk 34 (#144641) 2024-03-06 19:15:07 +00:00
new_gallery Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
non_nullable Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
platform_interaction Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
release_smoke_test Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
spell_check Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
ui Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
web flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
web_compile_tests Upgrade leak_tracker. (#143236) 2024-02-09 14:41:22 -08:00
web_e2e_tests flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
wide_gamut_test Roll pub packages (#145476) 2024-03-21 00:09:24 +00:00
windows_startup_test Roll pub packages (#145476) 2024-03-21 00:09:24 +00: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