dart-lang / dart-lang/test

Add option to re-run only the tests which failed during last run

Open
#329 17 comments 7 reactions 0 assignees View on GitHub
type-enhancement
Dominant language
Dart
Stars
536
Forks
232
Avg merge
1d 10h
Merged PRs (30d)
10

Description

Just an idea, but I think its a relatively common case that you only want to re-run the tests which failed during the last run (because you just made some changes to fix them). Today you either end up re-running all tests (which you eventually want to do anyways, but ideally not until after you fix the specific ones that were failing), or you manually specify each of the tests you want to retry which is cumbersome.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named in the issue. Begin by reviewing how the Dart test runner records failures and accepts test-selection options; done means a documented option can re-run only tests that failed in the previous run, with coverage for that workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
cli, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.