mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-28 07:29:25 +00:00
First cut of new test spec parser code
This commit is contained in:
parent
ad4489043b
commit
f8cff10ff6
7 changed files with 410 additions and 10 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include "catch.hpp"
|
||||
|
||||
TEST_CASE( "INFO and WARN do not abort tests", "[messages]" )
|
||||
TEST_CASE( "INFO and WARN do not abort tests", "[messages][.]" )
|
||||
{
|
||||
INFO( "this is a " << "message" ); // This should output the message if a failure occurs
|
||||
WARN( "this is a " << "warning" ); // This should always output the message but then continue
|
||||
|
@ -74,7 +74,7 @@ TEST_CASE( "Output from all sections is reported", "[failing][messages][.]" )
|
|||
}
|
||||
}
|
||||
|
||||
TEST_CASE( "Standard output from all sections is reported", "[messages]" )
|
||||
TEST_CASE( "Standard output from all sections is reported", "[messages][.]" )
|
||||
{
|
||||
SECTION( "one", "" )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue