Description
Describe the bug
When selecting the "Run/Debug Test" from the VSCode gutter, the gutter icon is not updated to "In Progress" icon when a Swift Testing test is selected.
To Reproduce
Steps to reproduce the behavior:
- Open a file that has Swift Testing test case
- Click on the "Run Test" gutter icon
- Notice the gutter icon remain the "Play" icon until the test result is available
Another Reproduction steps:
- Checkout Test: Add platform helpers swift-package-manager#8099
- Open VSCode
- Navigate to file
Tests/_InternalTestSupportTests/PlatformHelpersTests.swift
- Select "Run Test" or "Run Suite" gutter.and wait...
Expected behavior
Once the "Run Test" or "Run Suite" gutter icon was selected, the button icon is update to in indicate the request was put in the queue.
Actual behavior
When selecting the Gutter icon, there is no indication from the gutter icon to indicate what is happening. As a user, I'm left wondering if VSCode is processing the request or not. I tend to click the Gutter icon numerous times, only to then discover the status bar indicating there is a build activity - in which I assume is related to building my tests. The gutter icon is only updated once the test results are available.
Environment
- OS: macOS
- Swift version (output of
swift --version
) - Visual Studio Code version:
Version: 1.95.3 (Universal) Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813 Date: 2024-11-13T14:50:04.152Z Electron: 32.2.1 ElectronBuildId: 10427718 Chromium: 128.0.6613.186 Node.js: 20.18.0 V8: 12.8.374.38-electron.0 OS: Darwin arm64 24.2.0
- vscode-swift version: v1.11.3
Additional context
See the attached screen recording for the behaviour
Metadata
Metadata
Assignees
Labels
Type
Projects
Status