mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 12:44:52 +02:00
Updated What's the CATCH? (markdown)
2
Home.md
2
Home.md
@@ -13,7 +13,7 @@ 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.
|
||||
* 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. Comparisons are with standard C/C++ operators - yet the full expression is decomposed and logged.
|
||||
* 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.
|
||||
* Tests are named hierarchically and can be run by matching the entire name or partially to provide one way of grouping tests.
|
||||
* Test cases can also be tagged and non hierarchical suites can be created from tags (coming soon).
|
||||
* Test case function names are generated within the macro - you only need to provide a test name (and description)
|
||||
|
Reference in New Issue
Block a user