Skip to content

Test Results panel - allow Rerun failed from last run #244870

@fanick1

Description

@fanick1

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:
    Version: 1.98.2
    Commit: ddc367e
    Date: 2025-03-12T13:32:45.399Z
    Electron: 34.2.0
    ElectronBuildId: 11161602
    Chromium: 132.0.6834.196
    Node.js: 20.18.2
    V8: 13.2.152.36-electron.0
    OS: Darwin arm64 24.3.0

Steps to Reproduce:

  1. Run tests
  2. Open Test Results panel
  3. It is only possible to "Rerun Last Run" and "Debug Last Run"
  4. Expected: enable rerunning only failed tests from last run (similarly to what is available in the test hierarchy view)

Image

Activity

added
help wantedIssues identified as good community contribution opportunities
feature-requestRequest for new features or functionality
testingBuilt-in testing support
on Mar 27, 2025
added this to the Backlog milestone on Mar 27, 2025
DAWSpence

DAWSpence commented on Apr 8, 2025

@DAWSpence

Can I claim this issue?

connor4312

connor4312 commented on Apr 8, 2025

@connor4312
Member

Sure

DAWSpence

DAWSpence commented on Apr 13, 2025

@DAWSpence

Sure

Thank you!

Enzo-Nunes

Enzo-Nunes commented on May 8, 2025

@Enzo-Nunes
Contributor

@connor4312 @fanick1 I've been taking a look at this feature request, and I've noticed there already is a button for rerunning failed tests from the last run.

Image

Did you mean a button somewhere else? For example, in the tree view of the tests?

Image

fanick1

fanick1 commented on May 10, 2025

@fanick1
Author

@Enzo-Nunes Yes, this is in different place - in the Test Results Panel, not in the testing tab.
See this other enhancement for the same panel : #244873

fanick1

fanick1 commented on May 16, 2025

@fanick1
Author

I think the solution would comprise of creating new action similar to RunOrDebugLastRun -

abstract class RunOrDebugLastRun extends Action2 {
constructor(options: IAction2Options) {
) - something like RerunFailedTestsFromLastRun and registering it in testResultsTree.ts

added
unreleasedPatch has not yet been released in VS Code Insiders
insiders-releasedPatch has been released in VS Code Insiders
and removed
unreleasedPatch has not yet been released in VS Code Insiders
on Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsiderstestingBuilt-in testing support

Type

No type

Projects

No projects

Relationships

None yet

    Participants

    @connor4312@fanick1@Enzo-Nunes@DAWSpence

    Issue actions

      Test Results panel - allow Rerun failed from last run · Issue #244870 · microsoft/vscode