mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() * Extract some of startApp into a reusable method * Get basic attach --machine working * Attach --machine tweaks Move validation to validate method and create daemon early so we get the startup event before trying to get a connection. * Bump daemon version so we know whether it's valid to flutter attach * Tweak output text * Swap package imports for relative * Review tweaks (naming, formatting, typedefs) * Separate arguments from process spawning This will make calling attach easier * Add a basic test for flutter attach --machine * Fix crash if port unforward modifies the list of forwarded ports * Add a no-op port forwarder for flutter-tester * Switch to using BasicProject instead of our own inline code * Fix expectation in test now we have a portForwarder * Remove stale TODO (this is done) * Tweak formatting * Change some Completers to void to fix Dart 2 issues |
||
---|---|---|
.. | ||
test_data | ||
expression_evaluation_test.dart | ||
flutter_attach.dart | ||
flutter_tester_test.dart | ||
hot_reload_test.dart | ||
README.md | ||
test_driver.dart | ||
test_utils.dart |
Integration tests
These tests are not hermetic, and use actual Flutter SDK.
While they don't require actual devices, they run flutter_tester
to test
Dart VM and Flutter integration.
Some of these tests change the current directory for the process, so only one test can be run at a time. Use this command to run:
../../bin/cache/dart-sdk/bin/pub run test -j1