google/googletest

Easily parsable test list

Open

#3,822 opened on 2022年5月1日

GitHub で見る
 (6 comments) (1 reaction) (0 assignees)C++ (10,772 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (38,603 stars)
PR merge metrics
 (平均マージ 7d 8h) (30d で 1 merged PR)

説明

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

コントリビューターガイド