commit | 054d356332a05ce3590b256597105e1f564c4ea9 | [log] [tgz] |
---|---|---|
author | Martin Hořeňovský <martin.horenovsky@gmail.com> | Sat Oct 13 21:29:59 2018 +0200 |
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | Tue Oct 16 16:16:00 2018 +0200 |
tree | 215e6bd22dddce4d4d173b5bedbd0a86ef47e2a1 | |
parent | 0144ae9ad2c6543fef50bba206f65edf947b55d1 [diff] |
Add STATIC_REQUIRE assertion By default, it expands into a `static_assert` + `SUCCEED` pair, but it can also be deferred to runtime by defining `CATCH_CONFIG_RUNTIME_STATIC_REQUIRE`, which causes it to expand into plain old `REQUIRE`. Closes #1362 Closes #1356
The latest version of the single header can be downloaded directly using this link
If you've been using an earlier version of Catch, please see the Breaking Changes section of the release notes before moving to Catch2. You might also like to read this blog post for more details.
Catch2 stands for C++ Automated Test Cases in a Header and is a multi-paradigm test framework for C++. which also supports Objective-C (and maybe C). It is primarily distributed as a single header file, although certain extensions may require additional headers.
This documentation comprises these three parts: