Allow name to be provided for overall test run

This commit is contained in:
Phil Nash committed 2011-04-12 08:07:39 +01:00
1 parent 0bc42c5659
commit b3db552cfa
5 files changed
+32 -2

No files matched your search

+4 -1
View File
@@ -266,7 +266,10 @@ namespace Catch
{
if( !m_testingSpan.emitted )
{
m_config.stream() << "[Started testing]" << std::endl;
if( m_config.getName().empty() )
m_config.stream() << "[Started testing]" << std::endl;
else
m_config.stream() << "[Started testing: " << m_config.getName() << "]" << std::endl;
m_testingSpan.emitted = true;
}