microsoft / microsoft/vscode-cmake-tools

CTest as the run-layer

Open
#3,796 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

### Brief Issue Summary

From a customer request

"In general, I think it is a good idea to bake in support for ctest directly into the official cmake extension.
-ctest allows also application level tests with “add_tests” and/or launch.json.

-ctest could provide a unified testing view across applications and potentially multiple test frameworks (gtest, catch, etc)."

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

_No response_

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

Start by reviewing the CMake Tools extension's existing test execution flow and how it relates to CTest, add_tests, and launch.json. Compare the requested unified testing view with support for application tests and frameworks such as gtest and Catch; done would require a defined scope and an agreed integration design.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.