GUnit icon indicating copy to clipboard operation
GUnit copied to clipboard

Add ability to show GUnit Tests in gtest_list_tests

Open MattYoung50 opened this issue 2 years ago • 1 comments

Right now it only lists the name of the test fixture and not any of the SHOULD test cases:

GTest Version

image image image Notice how CalculatorTestsGTest has its test case `ShouldReturnCorrectSumOf2Numbers`

GUnit Version

image image image Notice how `Calculator Tests GUnit Add` doesn't list its test cases `Return Correct Sum of 9 + 8` and `Return Correct Sum of 9 + 9`

MattYoung50 avatar Apr 27 '22 17:04 MattYoung50

Many VSCode plugins discover GTest tests using --gtest_list_tests. If this feature was added, a lot of the popular GTest VSCode extensions like TestMate would work natively.

MattYoung50 avatar Apr 28 '22 17:04 MattYoung50