flutter/packages/flutter_tools/test/integration.shard
Danny Tuppeny 459c7fb884
Resume isolate before terminating tests to prevent flutter_tester leaks in integration tests (#45248)
* Resume isolate before terminating tests to prevent flutter_tester leak

* Fix lint

* Catch exceptions from resume() as well as timeout()

* Formatting fixes

* Don't try to resume if there's no vm service

* Fix handling of timeouts to not leak futures
2019-11-26 17:04:51 +00:00
..
test_data added new lifecycle state (#39945) 2019-11-05 20:03:09 -08:00
daemon_mode_test.dart Fix device daemon test when desktop or web are enabled (#45172) 2019-11-20 11:02:35 +00:00
debugger_stepping_test.dart Clean up test infrastructure (#43030) 2019-10-18 16:35:39 -07:00
expression_evaluation_test.dart Clean up test infrastructure (#43030) 2019-10-18 16:35:39 -07:00
flutter_attach_test.dart Clean up test infrastructure (#43030) 2019-10-18 16:35:39 -07:00
flutter_run_test.dart Clean up test infrastructure (#43030) 2019-10-18 16:35:39 -07:00
hot_reload_test.dart Revert "Improve time to development by initializing frontend_server concurrently with platform build (#45236)" (#45422) 2019-11-22 13:36:12 -08:00
lifetime_test.dart Clean up test infrastructure (#43030) 2019-10-18 16:35:39 -07:00
README.md Some minor cleanup for flutter_tools (#36569) 2019-07-24 10:58:09 -07:00
test_driver.dart Resume isolate before terminating tests to prevent flutter_tester leaks in integration tests (#45248) 2019-11-26 17:04:51 +00:00
test_utils.dart Use processManager.run() instead of manually capturing streams in test_utils getPackages() (#41687) 2019-10-10 07:47:26 +01: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.