bazel-contrib / bazel-contrib/vscode-bazel

[Feature request] Integrate with Test Explorer

Open
#186 2 comments 16 reactions 0 assignees View on GitHub
type: feature request
Dominant language
TypeScript
Stars
296
Forks
108
Avg merge
3d 22h
Merged PRs (30d)
5

Description

There is a [Test Explorer UI extension](https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-test-explorer) available, which itself provides a [Test Adapter API to discover and run tests](https://github.com/hbenl/vscode-example-test-adapter). An example of such test adapter is the [Catch2 and GoogleTest adapter](https://marketplace.visualstudio.com/items?itemName=matepek.vscode-catch2-test-adapter).

It would be very neat if the vscode-bazel extension was integrating with either Test Explorer directly, or with the GoogleTest adapter, in order to provide the list of tests, and the ability to spawn a [Visual Studio Code Debugger instance](https://code.visualstudio.com/docs/cpp/cpp-debug) through the Test Explorer UI.

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked Test Explorer UI extension and Test Adapter API, then compare the Catch2 and GoogleTest adapter example with the vscode-bazel extension. Done means exposing Bazel tests through Test Explorer and enabling a Visual Studio Code Debugger instance from the Test Explorer UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.