Open MattYoung50 opened 2 years ago
Right now it only lists the name of the test fixture and not any of the SHOULD test cases:
SHOULD
Notice how CalculatorTestsGTest has its test case ShouldReturnCorrectSumOf2Numbers
ShouldReturnCorrectSumOf2Numbers
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
Calculator Tests GUnit Add
Return Correct Sum of 9 + 8
Return Correct Sum of 9 + 9
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.
--gtest_list_tests
Right now it only lists the name of the test fixture and not any of the
SHOULD
test cases:GTest Version
Notice how CalculatorTestsGTest has its test case
ShouldReturnCorrectSumOf2Numbers
GUnit Version
Notice how
Calculator Tests GUnit Add
doesn't list its test casesReturn Correct Sum of 9 + 8
andReturn Correct Sum of 9 + 9