-
Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderstestingBuilt-in testing supportBuilt-in testing support
Milestone
Description
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:
- Run tests
- Open Test Results panel
- It is only possible to "Rerun Last Run" and "Debug Last Run"
- Expected: enable rerunning only failed tests from last run (similarly to what is available in the test hierarchy view)
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderstestingBuilt-in testing supportBuilt-in testing support
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
DAWSpence commentedon Apr 8, 2025
Can I claim this issue?
connor4312 commentedon Apr 8, 2025
Sure
DAWSpence commentedon Apr 13, 2025
Thank you!
Enzo-Nunes commentedon May 8, 2025
@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.
Did you mean a button somewhere else? For example, in the tree view of the tests?
fanick1 commentedon May 10, 2025
@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 commentedon May 16, 2025
I think the solution would comprise of creating new action similar to RunOrDebugLastRun -
vscode/src/vs/workbench/contrib/testing/browser/testExplorerActions.ts
Lines 1433 to 1434 in 8e36368
testResultsTree.ts
vscode/src/vs/workbench/contrib/testing/browser/testResultsView/testResultsTree.ts
Line 837 in 8e36368