microsoft / microsoft/vscode-cmake-tools

Update test results in CMake Test Explorer

Open
#2,522 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Feature: ctest help wanted
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

Issue Type: Feature Request

I use the CMake Tools status bar to run all tests with one click, and I use the CMake Test Explorer extension to run and see results from individual tests. It woud be great if running the tests via one of the methods would update the test results in the other as well.

I don't know exactly how this works, but I think the CMake Test Explorer uses some kind of standard VSCode api to manage and display tests, so I am guessing this extension would need to use the same api for updating the test results.

Extension version: 1.10.5
VS Code version: Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:46:01.075Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
Remote OS version: Linux x64 5.4.0-109-generic

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no implementation files or tests. Start by tracing how CMake Tools runs tests and how the VS Code testing API represents results, then compare that flow with CMake Test Explorer. Done means running tests through either method updates the results displayed by the other.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript, vscode
Domain
developer-experience, testing, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.