| 9160 | } |
| 9161 | |
| 9162 | std::size_t listTestsNamesOnly( Config const& config ) { |
| 9163 | TestSpec testSpec = config.testSpec(); |
| 9164 | std::size_t matchedTests = 0; |
| 9165 | std::vector<TestCase> matchedTestCases = filterTests( getAllTestCasesSorted( config ), testSpec, config ); |
| 9166 | for( auto const& testCaseInfo : matchedTestCases ) { |
| 9167 | matchedTests++; |
| 9168 | if( startsWith( testCaseInfo.name, '#' ) ) |
| 9169 | Catch::cout() << '"' << testCaseInfo.name << '"'; |
| 9170 | else |
| 9171 | Catch::cout() << testCaseInfo.name; |
| 9172 | if ( config.verbosity() >= Verbosity::High ) |
| 9173 | Catch::cout() << "\t@" << testCaseInfo.lineInfo; |
| 9174 | Catch::cout() << std::endl; |
| 9175 | } |
| 9176 | return matchedTests; |
| 9177 | } |
| 9178 | |
| 9179 | void TagInfo::add( std::string const& spelling ) { |
| 9180 | ++count; |
no test coverage detected