mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-20 03:25:40 +02:00
--list-test-names-and-sources functionality
This commit is contained in:
@@ -174,6 +174,10 @@ namespace Catch {
|
||||
.bind( &ConfigData::filenamesAsTags );
|
||||
|
||||
// Less common commands which don't have a short form
|
||||
cli["--list-test-names-and-sources"]
|
||||
.describe("list all/matching test cases names along with their source files")
|
||||
.bind(&ConfigData::listTestNamesAndSources);
|
||||
|
||||
cli["--list-test-names-only"]
|
||||
.describe( "list all/matching test cases names only" )
|
||||
.bind( &ConfigData::listTestNamesOnly );
|
||||
|
Reference in New Issue
Block a user