mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Console reporter is now the default
This commit is contained in:
		
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -165,10 +165,10 @@ TEST_CASE( "selftest/parser/2", "ConfigData" ) { | ||||
|      | ||||
|     SECTION( "reporter", "" ) { | ||||
|         SECTION( "-r/basic", "" ) { | ||||
|             const char* argv[] = { "test", "-r", "basic" }; | ||||
|             const char* argv[] = { "test", "-r", "console" }; | ||||
|             CHECK_NOTHROW( parseIntoConfig( argv, config ) ); | ||||
|              | ||||
|             REQUIRE( config.reporter == "basic" ); | ||||
|             REQUIRE( config.reporter == "console" ); | ||||
|         } | ||||
|         SECTION( "-r/xml", "" ) { | ||||
|             const char* argv[] = { "test", "-r", "xml" }; | ||||
|   | ||||
| @@ -53,7 +53,7 @@ namespace Catch { | ||||
|         EmbeddedRunner() : m_reporter( new NullStreamingReporter() ) {} | ||||
|          | ||||
|         Totals runMatching( const std::string& rawTestSpec, | ||||
|                             const std::string& reporter = "basic" ); | ||||
|                             const std::string& reporter = "console" ); | ||||
|          | ||||
|     private: | ||||
|         Ptr<IStreamingReporter> m_reporter; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash