google/googletest

Easily parsable test list

Open

#3,822 创建于 2022年5月1日

在 GitHub 查看
 (6 评论) (1 反应) (0 负责人)C++ (38,603 star) (10,772 fork)batch import
enhancementhelp wanted

描述

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

贡献者指南