mirror of
https://github.com/catchorg/Catch2.git
synced 2025-07-29 18:27:41 +02:00
Updated What's the CATCH? (markdown)
1
Home.md
1
Home.md
@ -11,6 +11,7 @@ There are a number of decent C++ unit testing frameworks out there, including (b
|
||||
Here's a list of core features of Catch that, collectively, make Catch stand out:
|
||||
|
||||
* Implemented entirely in headers. Just #include "catch.hpp" and you're away.
|
||||
* Minimal dependencies - just C++98 with basic STL.
|
||||
* Write test cases as functions or methods. Functions are self registering.
|
||||
* No context to pass around. Call through non test code and back into test code and assertions still work (useful for mocks)
|
||||
* Only one core assertion macro for comparisons. Standard C/C++ operators are used for the comparison - yet the full expression is decomposed and lhs and rhs values are logged.
|
||||
|
Reference in New Issue
Block a user