commit | ce2560ca956c1743f8bc871e0bf95f65a3db887c | [log] [tgz] |
---|---|---|
author | Joachim Meyer <joachim@joameyer.de> | Tue Apr 23 23:41:13 2019 +0200 |
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | Thu Jun 06 19:33:37 2019 +0200 |
tree | 3ee045a34c2795852246d5abbb777c7db8437d14 | |
parent | 00347f1e79260e76d5072cca5b3636868397dda5 [diff] |
Integrate Nonius benchmark into Catch2 Changes done to Nonius: * Moved things into "Catch::Benchmark" namespace * Benchmarks were integrated with `TEST_CASE`/`SECTION`/`GENERATE` macros * Removed Nonius's parameters for benchmarks, Generators should be used instead * Added relevant methods to the reporter interface (default-implemented, to avoid breaking existing 3rd party reporters) * Async processing is guarded with `_REENTRANT` macro for GCC/Clang, used by default on MSVC * Added a macro `CATCH_CONFIG_DISABLE_BENCHMARKING` that removes all traces of benchmarking from Catch
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: