mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	
			
				
					
						
					
					0394905325d08da64596076e4abcd5b6901e61ea
				
			
			
		
	 Kevin Ushey
		
	
	0394905325
	
	
	restrict nullptr detection to gcc 4 (closes #526)
			Kevin Ushey
		
	
	0394905325
	
	
	restrict nullptr detection to gcc 4 (closes #526)
		
			
			The old detection logic here assumed that all versions of gcc >= 5 would provide nullptr and `std::nullptr_t`; this is only true in gcc >= 5 when the standard is explicitly set (e.g. `std=c++11`), and other detection logic handles that. This change allows Catch-using programs to compile with gcc >= 5, when using the default (C++98) standard.
v1.2.1
Please see this page if you are updating from a version before 1.0
[The latest, single header, version can be downloaded directly using this link]
What's the Catch?
Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.
How to use it
This documentation comprises these three parts:
- Why do we need yet another C++ Test Framework?
- Tutorial - getting started
- Reference section - all the details
The documentation will continue until morale improves
More
- Issues and bugs can be raised on the Issue tracker on GitHub
- For discussion or questions please use the dedicated Google Groups forum
Description
				A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
						
						
						
						
						
							
								 Readme
							
						
						
						
						
							
							
							 80 MiB
						
					
					Languages
				
				
								
								
									C++
								
								90%
							
						
							
								
								
									CMake
								
								5.4%
							
						
							
								
								
									Python
								
								3.4%
							
						
							
								
								
									Meson
								
								0.7%
							
						
							
								
								
									Starlark
								
								0.3%
							
						
					
