mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
Merge branch 'develop' of github.com:philsquared/Catch
Tweaked wording around ability to do BDD
This commit is contained in:
commit
4f4b44e3a2
@ -10,7 +10,7 @@ So what does Catch bring to the party that differentiates it from these? Apart f
|
|||||||
* No external dependencies. As long as you can compile C++98 and have a C++ standard library available.
|
* No external dependencies. As long as you can compile C++98 and have a C++ standard library available.
|
||||||
* Write test cases as, self-registering, functions or methods.
|
* Write test cases as, self-registering, functions or methods.
|
||||||
* Divide test cases into sections, each of which is run in isolation (eliminates the need for fixtures!)
|
* Divide test cases into sections, each of which is run in isolation (eliminates the need for fixtures!)
|
||||||
* Use BDD-style GIVEN-WHEN-THEN in place of test cases and sections.
|
* Use BDD-style Given-When-Then sections as well as traditional unit test cases.
|
||||||
* 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.
|
* 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.
|
||||||
|
|
||||||
## Other core features
|
## Other core features
|
||||||
|
Loading…
Reference in New Issue
Block a user