catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Normalised “hidden” tags
- Commit
47a5ad3038bd9b056d862a4e75699d25904e6811- Author
- Phil Nash ·
- Parents
352432129500
Changes
include/internal/catch_test_case_info.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/internal/catch_test_case_info.hpp b/include/internal/catch_test_case_info.hpp index 3d46320f..75cd9323 100644 --- a/include/internal/catch_test_case_info.hpp +++ b/include/internal/catch_test_case_info.hpp @@ -28,6 +28,10 @@ namespace Catch { if( tags.find( "hide" ) != tags.end() || tags.find( "." ) != tags.end() ) isHidden = true; + if( isHidden ) { + tags.insert( "hide" ); + tags.insert( "." ); + } TestCaseInfo info( _name, _className, desc, tags, isHidden, _lineInfo ); return TestCase( _testCase, info ); }