Could flutter_test
replace integration_test
#148105
Labels
a: tests
"flutter test", flutter_test, or one of our tests
c: proposal
A detailed proposal for a change to Flutter
f: integration_test
The flutter/packages/integration_test plugin
P3
Issues that are less important to the Flutter project
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
@goderbauer @jonahwilliams @johnmccutchan and @matanlurey met today to discuss Flutter testing.
One of the topics that came up, but we don't plan to act on in the near term, is the differences between
flutter_test
andintegration_test
: both of them run in the same process (and isolate) of the running app, compared to an external test throughflutter_driver
, and what would it take forflutter_test
to just subsumeintegration_test
.A non-exhaustive list might include:
flutter_test
would need to formally support running on a device1The general feel is that most of these changes are tooling related, but of course devil is in the details.
It's also worth mentioning this effort would have to come after we decide that
flutter_driver
should be the "external" testing story (right now bothflutter_driver
andintegration_test
attempt to be our external testing story).Footnotes
It works today if you run
flutter run test/path_to_test.dart
but there are no test results reported ↩ ↩2The text was updated successfully, but these errors were encountered: