tree: 512dfea8b91e296ac941b6018c383bd2c62f8da7 [path history] [tgz]
  1. test_data/
  2. analyze_size_test.dart
  3. android_plugin_example_app_build_test.dart
  4. background_isolate_test.dart
  5. build_ios_config_only_test.dart
  6. command_output_test.dart
  7. coverage_collection_test.dart
  8. daemon_mode_test.dart
  9. debugger_stepping_test.dart
  10. deferred_components_test.dart
  11. deprecated_gradle_settings_test.dart
  12. downgrade_upgrade_integration_test.dart
  13. expression_evaluation_test.dart
  14. flutter_attach_test.dart
  15. flutter_build_with_compilation_error_test.dart
  16. flutter_gen_test.dart
  17. flutter_run_test.dart
  18. flutter_run_with_error_test.dart
  19. forbidden_imports_test.dart
  20. gen_l10n_test.dart
  21. generated_plugin_registrant_test.dart
  22. hot_reload_errors_test.dart
  23. hot_reload_test.dart
  24. hot_reload_with_asset_test.dart
  25. ios_content_validation_test.dart
  26. lifetime_test.dart
  27. macos_content_validation_test.dart
  28. observatory_port_test.dart
  29. overall_experience_test.dart
  30. plist_parser_test.dart
  31. README.md
  32. single_widget_reload_test.dart
  33. stateless_stateful_hot_reload_test.dart
  34. template_manifest_test.dart
  35. test_driver.dart
  36. test_test.dart
  37. test_utils.dart
  38. tool_backend_test.dart
  39. unit_coverage_test.dart
  40. vmservice_integration_test.dart
  41. 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/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.