-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
Use case
Tests may take an hour or more to run, especially in a CI environment with limited resources. If there was an argument for flutter test (similar to pytest's --exitfirst), then a failure that happens within the first 10 minutes, etc. can stop further test execution. This can allow developers to fix tests and re-run them locally, saving a lot of time and money in a CI.
Proposal
Add an argument such as flutter test --exit-first that will stop further text execution when a failure is hit.
gnprice, g0rdan, sayadzad, tdomarkas, ioantsaf and 25 moreshaunthegeek, zkrige, devfelipereis, tsinis and Greismorr
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-frameworkTriaged by Framework teamTriaged by Framework team