flutter/packages/flutter_tools/test/integration.shard
Jonah Williams 4b351ac1b4
[flutter_tools] do not allow attaching in release mode (#68071)
Do not allow attach in release mode, as there is not VM Service to connect to. Observed in crash reporting as thrown string which is changed to exception below.
2020-10-13 21:29:23 -07:00
..
test_data [flutter_tools] pretty print hot reload rejection error (#66701) 2020-10-09 15:44:52 -07:00
analyze_size_test.dart [flutter_tools] prevent running analyze-size with split-debug-info (#66983) 2020-09-30 11:15:49 -07:00
background_isolate_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
build_ios_config_only_test.dart [flutter_tools] make local engine integration testing easier (#65802) 2020-09-15 13:32:02 -07:00
command_output_test.dart [flutter_tools] do not allow attaching in release mode (#68071) 2020-10-13 21:29:23 -07:00
coverage_collection_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
daemon_mode_test.dart [flutter_tools] make local engine integration testing easier (#65802) 2020-09-15 13:32:02 -07:00
debugger_stepping_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
debugger_stepping_web_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
deprecated_gradle_settings_test.dart [flutter_tools] port deprecated settings test to flutter integration shard (#65806) 2020-09-15 10:55:07 -07:00
downgrade_upgrade_integration_test.dart [flutter_tools] do not measure progress timeout (#67959) 2020-10-13 13:05:47 -07:00
expression_evaluation_test.dart Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
expression_evaluation_web_test.dart Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
flutter_attach_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
flutter_gen_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
flutter_immediately_exit_test.dart Roll package:dds to 1.4.0 and update error handling (#66836) 2020-09-29 10:28:17 -07:00
flutter_run_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
flutter_run_with_error_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
forbidden_imports_test.dart [flutter_tools] do not require a dependency on devtools server (#66842) 2020-09-29 18:15:56 -07:00
gen_l10n_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
hot_reload_errors_test.dart [flutter_tools] pretty print hot reload rejection error (#66701) 2020-10-09 15:44:52 -07:00
hot_reload_test.dart [flutter_tools] connect widget cache from frontend_server (#65951) 2020-09-19 11:02:04 -07:00
hot_reload_with_asset_test.dart [flutter_tools] hot reload/restart update for asset manager change (#66742) 2020-10-09 12:25:15 -07:00
lifetime_test.dart Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
plist_parser_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
README.md Some minor cleanup for flutter_tools (#36569) 2019-07-24 10:58:09 -07:00
single_widget_reload_test.dart [flutter_tools] connect widget cache from frontend_server (#65951) 2020-09-19 11:02:04 -07:00
stateless_stateful_hot_reload_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
template_manifest_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
test_driver.dart [flutter_tools] pretty print hot reload rejection error (#66701) 2020-10-09 15:44:52 -07:00
test_test.dart [flutter_tools] update build rules to depend on subset of package_config contents (#67165) 2020-10-07 08:46:11 -07:00
test_utils.dart Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
unit_coverage_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
vmservice_integration_test.dart Reland "Re-enable the Dart Development Service (DDS) (#64671)" (#65873) 2020-09-16 16:27:42 -07:00
web_run_test.dart [flutter_tools] standardize patterns for integration.shard (#64980) 2020-09-08 15:56:00 -07:00
xcode_backend_test.dart Add observatory Bonjour service to built iOS Info.plist bundle (#65138) 2020-09-02 18:47:56 -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

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.