First cut of new test spec parser code

This commit is contained in:
Phil Nash 2014-05-16 06:50:00 +01:00
parent ad4489043b
commit f8cff10ff6
7 changed files with 410 additions and 10 deletions

View file

@ -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", "" )
{