added timing output to the console logger

This commit is contained in:
Konstantin Baumann 2013-07-23 14:19:50 +02:00
parent f8f1d77e87
commit 4e7b104f36
2 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,7 @@ namespace Catch {
if( m_atLeastOneTestCasePrinted ) if( m_atLeastOneTestCasePrinted )
printTotalsDivider(); printTotalsDivider();
printTotals( _testRunStats.totals ); printTotals( _testRunStats.totals );
stream << " [timing: " << _testRunStats.timeSecs << " secs.]";
stream << "\n" << std::endl; stream << "\n" << std::endl;
StreamingReporterBase::testRunEnded( _testRunStats ); StreamingReporterBase::testRunEnded( _testRunStats );
} }

View File

@ -139,6 +139,7 @@
<ClInclude Include="..\..\..\..\include\internal\catch_test_registry.hpp" /> <ClInclude Include="..\..\..\..\include\internal\catch_test_registry.hpp" />
<ClInclude Include="..\..\..\..\include\internal\catch_xmlwriter.hpp" /> <ClInclude Include="..\..\..\..\include\internal\catch_xmlwriter.hpp" />
<ClInclude Include="..\..\..\..\include\reporters\catch_reporter_basic.hpp" /> <ClInclude Include="..\..\..\..\include\reporters\catch_reporter_basic.hpp" />
<ClInclude Include="..\..\..\..\include\reporters\catch_reporter_console.hpp" />
<ClInclude Include="..\..\..\..\include\reporters\catch_reporter_junit.hpp" /> <ClInclude Include="..\..\..\..\include\reporters\catch_reporter_junit.hpp" />
<ClInclude Include="..\..\..\..\include\reporters\catch_reporter_xml.hpp" /> <ClInclude Include="..\..\..\..\include\reporters\catch_reporter_xml.hpp" />
</ItemGroup> </ItemGroup>