Skip to content

ctest: Show custom test properties in --show-only=json-v1

Dannie Sim requested to merge danniesim/cmake:gtest-json-test-def-source into master

The use case is to allow IDE/Tools to find the source file and line number of test definitions.

Included are changes to the GoogleTest module which with minimal changes, allow tools to query the source location of tests with ctest --show-only=json-v1.

I have this working on a draft pull request for vscode-cmake-tools.

Merge request reports