tree: 28476470704ab4ccaa5181174bc0d94d92747930 [path history] [tgz]
  1. debug_adapter/
  2. isolated/
  3. test_data/
  4. analyze_all_templates_test.dart
  5. analyze_once_test.dart
  6. analyze_size_test.dart
  7. analyze_suggestions_integration_test.dart
  8. android_e2e_api_test.dart
  9. android_gradle_daemon_cache_test.dart
  10. android_gradle_deprecated_plugin_apply_test.dart
  11. android_gradle_flutter_source_path_test.dart
  12. android_gradle_java_version_test.dart
  13. android_gradle_legacy_flutter_plugins_strings_in_comments_test.dart
  14. android_gradle_outputs_app_link_settings_test.dart
  15. android_gradle_print_build_variants_test.dart
  16. android_plugin_compilesdkversion_mismatch_test.dart
  17. android_plugin_example_app_build_test.dart
  18. android_plugin_ndkversion_mismatch_test.dart
  19. android_plugin_new_output_dir_test.dart
  20. android_plugin_skip_unsupported_test.dart
  21. asset_transformation_test.dart
  22. background_isolate_test.dart
  23. bash_entrypoint_test.dart
  24. batch_entrypoint_test.dart
  25. break_on_framework_exceptions_test.dart
  26. build_ios_config_only_test.dart
  27. build_macos_config_only_test.dart
  28. build_preview_test.dart
  29. cache_test.dart
  30. command_output_test.dart
  31. coverage_collection_test.dart
  32. daemon_mode_test.dart
  33. debugger_stepping_test.dart
  34. deferred_components_test.dart
  35. deprecated_gradle_settings_test.dart
  36. devtools_uri_test.dart
  37. downgrade_upgrade_integration_test.dart
  38. exit_code_test.dart
  39. expression_evaluation_test.dart
  40. flutter_attach_test.dart
  41. flutter_build_android_app_project_builddir_test.dart
  42. flutter_build_apk_verbose_test.dart
  43. flutter_build_config_only_test.dart
  44. flutter_build_wasm_test.dart
  45. flutter_build_windows_test.dart
  46. flutter_build_with_compilation_error_test.dart
  47. flutter_gen_test.dart
  48. flutter_plugins_dependencies_test.dart
  49. flutter_run_test.dart
  50. flutter_run_with_error_test.dart
  51. forbidden_imports_test.dart
  52. gen_l10n_test.dart
  53. gradle_non_android_plugin_test.dart
  54. hot_reload_errors_test.dart
  55. hot_reload_test.dart
  56. hot_reload_with_asset_test.dart
  57. lifetime_test.dart
  58. observatory_port_test.dart
  59. overall_experience_test.dart
  60. plist_parser_test.dart
  61. README.md
  62. shader_compiler_test.dart
  63. stateless_stateful_hot_reload_test.dart
  64. swift_package_manager_create_app_test.dart
  65. swift_package_manager_create_plugin_test.dart
  66. swift_package_manager_test.dart
  67. swift_package_manager_utils.dart
  68. template_manifest_test.dart
  69. test_driver.dart
  70. test_test.dart
  71. test_utils.dart
  72. timeline_test.dart
  73. tool_backend_test.dart
  74. transition_test_utils.dart
  75. unit_coverage_test.dart
  76. variable_expansion_windows.dart
  77. variable_expansion_windows_test.dart
  78. vmservice_integration_test.dart
  79. web_plugin_registrant_test.dart
  80. xcode_backend_test.dart
packages/flutter_tools/test/integration.shard/README.md

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/dart 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.

Adding new test files

When adding a new test file make sure that it ends with _test.dart, or else it will not be run.