-
Notifications
You must be signed in to change notification settings - Fork 30.6k
Hot Reload for tests #25973
Copy link
Copy link
Closed as not planned
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityt: hot reloadReloading code during "flutter run"Reloading code during "flutter run"team-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityt: hot reloadReloading code during "flutter run"Reloading code during "flutter run"team-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Hot Reload is one of the biggest selling points of Flutter. It makes development fast. At least when writing user interfaces. Unit tests don't support Hot Reload. With Dart2, spawning a new Isolate for each test file, tests became rather slow (multiple seconds until seeing first results).
It would be great when Hot Reload would also work for tests, making not only UI development fast but also TDD fun.
Related dart-lang/sdk#32953