Skip to content

Add ability to show GUnit Tests in gtest_list_tests #76

Open

Description

@MattYoung50

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`

Activity

  1. MattYoung50 commented on Apr 28, 2022

    @MattYoung50
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions