google/googletest

Easily parsable test list

Open

#3 822 ouverte le 1 mai 2022

Voir sur GitHub
 (6 commentaires) (1 réaction) (0 assignés)C++ (10 772 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (38 603 stars)
Métriques de merge PR
 (Merge moyen 7j 8h) (1 PR mergée en 30 j)

Description

Whe using --gtest_list_tests, the list is split into the test suite on one line, and individual test names on separate lines. This makes it harder to parse the output for listing all available tests. Maybe there should be an option to list the tests using their full names, so that instead of this:

TestSuite1.
  Test1
  Test2
TestSuite2.
  Test1

we can get this:

TestSuite1.Test1
TestSuite1.Test2
TestSuite2.Test1

Guide contributeur