microsoft / microsoft/vscode-cmake-tools
Test discovery blocks VSCode Testing GUI completely
@snehara99 is already working on this.
Since Feb 4, 2025.
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
### Brief Issue Summary
In my project, I have several thousands of tests. Most of them come from around 10 GoogleTest binaries via `gtest_discover_tests`. Each time I save one of my CMake files, `CMake: Configure` step is triggered (which is fine), configuration is performed pretty quickly:
```
...
[cmake] -- Configuring done (0.1s)
[cmake] -- Generating done (0.1s)
```
but then seems that extension populates test list and this takes noticeable amount of time (around 3 seconds) and during this process VSCode GUI is completely blocked, I can't press any button or edit the code. I work on this project for a while and I'm almost sure that it didn't work like this before.
VSCode version: 1.93.1
CMake tools version: v1.19.52
OS: Darwin arm64 23.5.0
### CMake Tools Diagnostics
_No response_
### Debug Log
_No response_
### Additional Information
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.