google/googletest

Easily parsable test list

Aberta

#3.822 aberto em 1 de mai. de 2022

 (6 comentários) (1 reação) (0 responsável)C++ (10.772 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (38.603 estrelas)
Métricas de merge de PR
 (Mesclagem média 7d 8h) (1 fundiu PR em 30d)

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

Guia do colaborador