| 10866 | } |
| 10867 | |
| 10868 | std::size_t listTestsNamesOnly( Config const& config ) { |
| 10869 | TestSpec testSpec = config.testSpec(); |
| 10870 | std::size_t matchedTests = 0; |
| 10871 | std::vector<TestCase> matchedTestCases = filterTests( getAllTestCasesSorted( config ), testSpec, config ); |
| 10872 | for( auto const& testCaseInfo : matchedTestCases ) { |
| 10873 | matchedTests++; |
| 10874 | if( startsWith( testCaseInfo.name, '#' ) ) |
| 10875 | Catch::cout() << '"' << testCaseInfo.name << '"'; |
| 10876 | else |
| 10877 | Catch::cout() << testCaseInfo.name; |
| 10878 | if ( config.verbosity() >= Verbosity::High ) |
| 10879 | Catch::cout() << "\t@" << testCaseInfo.lineInfo; |
| 10880 | Catch::cout() << std::endl; |
| 10881 | } |
| 10882 | return matchedTests; |
| 10883 | } |
| 10884 | |
| 10885 | void TagInfo::add( std::string const& spelling ) { |
| 10886 | ++count; |
no test coverage detected