| 11116 | } |
| 11117 | |
| 11118 | std::size_t listTestsNamesOnly( Config const& config ) { |
| 11119 | TestSpec testSpec = config.testSpec(); |
| 11120 | std::size_t matchedTests = 0; |
| 11121 | std::vector<TestCase> matchedTestCases = filterTests( getAllTestCasesSorted( config ), testSpec, config ); |
| 11122 | for( auto const& testCaseInfo : matchedTestCases ) { |
| 11123 | matchedTests++; |
| 11124 | if( startsWith( testCaseInfo.name, '#' ) ) |
| 11125 | Catch::cout() << '"' << testCaseInfo.name << '"'; |
| 11126 | else |
| 11127 | Catch::cout() << testCaseInfo.name; |
| 11128 | if ( config.verbosity() >= Verbosity::High ) |
| 11129 | Catch::cout() << "\t@" << testCaseInfo.lineInfo; |
| 11130 | Catch::cout() << std::endl; |
| 11131 | } |
| 11132 | return matchedTests; |
| 11133 | } |
| 11134 | |
| 11135 | void TagInfo::add( std::string const& spelling ) { |
| 11136 | ++count; |
no test coverage detected