mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-14 09:25:40 +02:00
Junit reporter uses filename for suite name if no explicit groups
This commit is contained in:
@@ -81,7 +81,7 @@ namespace Catch {
|
||||
|
||||
virtual void StartGroup( const std::string& groupName ) {
|
||||
if( groupName.empty() )
|
||||
m_statsForSuites.push_back( Stats( "all tests" ) );
|
||||
m_statsForSuites.push_back( Stats( m_config.name ) );
|
||||
else
|
||||
m_statsForSuites.push_back( Stats( groupName ) );
|
||||
m_currentStats = &m_statsForSuites.back();
|
||||
|
Reference in New Issue
Block a user