google / google/benchmark

[FR] Make benchmark tests available from Test Explorer of Visual Studio

Open
#1,843 0 comments 0 reactions 0 assignees View on GitHub
os:windows
Dominant language
C++
Stars
10.4k
Forks
1.8k
Avg merge
2d 4h
Merged PRs (30d)
8

Description

**Is your feature request related to a problem? Please describe.**
I noticed that my benchmark tests do not show up in the Test Explorer of Visual Studio. The regular GoogleTest based unit tests do. Is this by design or oversight?

**Describe the solution you'd like**
Is there an option to make the benchmarks available in the Test Explorer via GTA?

**Describe alternatives you've considered**
So far, I only called the RUN_TESTS target of the CMake generated VS solution.

**Additional context**
Analysis of code coverage would then also be possible via VS option "Analyze code coverage by running all tests"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.