google/googletest

Easily parsable test list

開放

#3,822 建立於 2022年5月1日

 (6 則留言) (1 個反應) (0 位負責人)C++ (10,772 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (38,603 顆星)
PR 合併指標
 (平均合併 7天 8小時) (30 天內合併 1 個 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

貢獻者指南