flutter/packages/flutter_tools/test/integration.shard
Greg Spencer 0bab3604b0
Make the startup lock message print to stderr. (#86520)
This changes the "Waiting for another flutter command to release the startup lock..." message output so that it appears on stderr instead of stdout. When it appears on stdout, it can mess up collection of the output. For instance, if you run flutter --version --machine and you're expecting JSON output, then you'll get non-JSON output even though the lock is released and you eventually would get what you're asking for.
2021-07-28 15:12:03 -07:00
..
test_data [gen_l10n] Support plurals and selects inside string (#86167) 2021-07-21 12:41:06 -07:00
analyze_once_test.dart [flutter_tools] make analyze once an integration test (#85336) 2021-06-25 12:06:04 -07:00
analyze_size_test.dart Quote arguments to flutter assemble in xcode_backend.sh (#86534) 2021-07-16 18:22:10 -07:00
android_plugin_example_app_build_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
background_isolate_test.dart Fixed large amount of spelling errors (#83744) 2021-06-02 10:14:06 -07:00
break_on_framework_exceptions_test.dart Randomize tests, exclude tests that fail with randomization. (#86793) 2021-07-26 23:40:49 -07:00
build_ios_config_only_test.dart Exclude arm64 from valid iOS simulators (#73828) 2021-03-03 18:58:37 -08:00
cache_test.dart Make the startup lock message print to stderr. (#86520) 2021-07-28 15:12:03 -07:00
command_output_test.dart [flutter_tools] support trailing args (#86431) 2021-07-14 15:51:10 -07:00
coverage_collection_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
daemon_mode_test.dart fix sort_directives violations (#80817) 2021-04-21 13:49:03 -07:00
debugger_stepping_test.dart Remove unused imports of system libraries. (#76436) 2021-02-24 08:41:03 -08:00
deferred_components_test.dart Increase timeouts to fix build integration timeout flakes (#77566) 2021-03-10 12:30:25 -08:00
deprecated_gradle_settings_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
downgrade_upgrade_integration_test.dart Revert "[flutter_tools] let the logger know about machine mode (#86116)" (#86363) 2021-07-13 10:39:35 -07:00
exit_code_test.dart [flutter_tools] revert change to SETLOCAL ENABLEDELAYEDEXPANSION (#86000) 2021-07-07 11:10:37 -07:00
expression_evaluation_test.dart Remove "unnecessary" imports. (#78666) 2021-04-01 19:59:03 -07:00
flutter_attach_test.dart Remove unused imports of system libraries. (#76436) 2021-02-24 08:41:03 -08:00
flutter_build_null_unsafe_test.dart Fix assemble codesign flag (#84372) 2021-06-11 11:35:00 -07:00
flutter_build_with_compilation_error_test.dart Revert "Disable flutter_build_with_compilation_error_test on Windows (#81951)" (#82401) 2021-05-13 10:48:45 -07:00
flutter_gen_test.dart Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. (#84476) 2021-06-14 14:16:57 -07:00
flutter_run_test.dart Remove "unnecessary" imports. (#78666) 2021-04-01 19:59:03 -07:00
flutter_run_with_error_test.dart Only write the pid-file while listening to SIGUSR signals. (#74533) 2021-02-10 16:06:05 -08:00
forbidden_imports_test.dart [flutter_tools] Port xcode backend to dart (#86753) 2021-07-27 14:39:05 -07:00
gen_l10n_test.dart [gen_l10n] Support plurals and selects inside string (#86167) 2021-07-21 12:41:06 -07:00
generated_plugin_registrant_test.dart enable lint prefer_interpolation_to_compose_strings (#83407) 2021-06-01 11:14:06 -07:00
gradle_non_android_plugin_test.dart Replace testUsingContext with testWithoutContext in a few places (#82498) 2021-05-13 23:09:03 -07:00
hot_reload_errors_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
hot_reload_test.dart Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. (#84476) 2021-06-14 14:16:57 -07:00
hot_reload_with_asset_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
ios_content_validation_test.dart Respect plugin excluded iOS architectures (#86905) 2021-07-23 13:56:03 -07:00
lifetime_test.dart Fix typo in test name (#86083) 2021-07-09 11:16:03 -07:00
macos_content_validation_test.dart Update Podfile.lock modified timestamp when pod install is run (#78823) 2021-04-06 15:54:02 -07:00
observatory_port_test.dart Replace testUsingContext with testWithoutContext in a few places (#82498) 2021-05-13 23:09:03 -07:00
overall_experience_test.dart Randomize tests, exclude tests that fail with randomization. (#86793) 2021-07-26 23:40:49 -07:00
plist_parser_test.dart Remove "unnecessary" imports in flutter_tools tests (#75012) 2021-02-09 09:46:07 -08:00
README.md Test generated_plugin_registrant analysis & suppress long lines in web plugin registrant (#71981) 2020-12-16 22:19:05 -08:00
single_widget_reload_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
stateless_stateful_hot_reload_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
template_manifest_test.dart Add a more complete app template for Flutter (skeleton) (#83530) 2021-06-28 15:26:04 -07:00
test_driver.dart Fix some indentation (#84967) 2021-07-01 13:41:04 -07:00
test_test.dart Randomize tests, exclude tests that fail with randomization. (#86793) 2021-07-26 23:40:49 -07:00
test_utils.dart Enable avoid_escaping_inner_quotes lint (#81153) 2021-05-19 09:54:02 -07:00
timeline_test.dart [flutter_tools] add timeline ANR integration test (#79991) 2021-04-08 15:23:11 -07:00
tool_backend_test.dart Enable avoid_escaping_inner_quotes lint (#81153) 2021-05-19 09:54:02 -07:00
unit_coverage_test.dart Revert "[flutter_tools] move process manager into tool (#75350)" (#75639) 2021-02-08 09:21:46 -08:00
variable_expansion_windows_test.dart [flutter_tools] revert change to SETLOCAL ENABLEDELAYEDEXPANSION (#86000) 2021-07-07 11:10:37 -07:00
variable_expansion_windows.dart [flutter_tools] dont use SETLOCAL ENABLEDELAYEDEXPANSION unecessarily (#85288) 2021-06-24 22:21:01 -07:00
vmservice_integration_test.dart Remove "unnecessary" imports. (#78666) 2021-04-01 19:59:03 -07:00
xcode_backend_test.dart Fixed large amount of spelling errors (#83744) 2021-06-02 10:14:06 -07:00

Integration tests

These tests are not hermetic, and use the actual Flutter SDK. While they don't require actual devices, they run flutter_tester to test Dart VM and Flutter integration.

Use this command to run (from the flutter_tools directory):

../../bin/cache/dart-sdk/bin/pub run test test/integration.shard

You need to have downloaded the Dart SDK in your Flutter clone for this to work. Running ../../bin/flutter will automatically download it.

Coverage exclusion

These tests are expensive to run and do not give meaningful coverage information for the flutter tool (since they are black-box tests that run the tool as a subprocess, rather than being unit tests). For this reason, they are in a separate shard when running on continuous integration and are not run when calculating coverage.