commit | e340ab8db6dbe07a58b6e72a9364d67d2178293c | [log] [tgz] |
---|---|---|
author | Martin Hořeňovský <martin.horenovsky@gmail.com> | Sun May 19 20:54:44 2019 +0200 |
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | Thu Jun 06 21:28:56 2019 +0200 |
tree | 926412e41898e1743ef62168b78bc67f6f1c8ee8 | |
parent | ce2560ca956c1743f8bc871e0bf95f65a3db887c [diff] |
Various improvements to the benchmarking support * Units from <ratio> are no longer redeclared in our own namespace * The default clock is `steady_clock`, not `high_resolution_clock`, because, as HH says "high_resolution_clock is useless. If you want measure the passing of time, use steady_clock. If you want user friendly time, use system_clock". * Benchmarking support is opt-in, not opt-out, to avoid the large (~10%) compile time penalty. * Benchmarking-related options in CLI are always present, to decrease the amount of code that is only compiled conditionally and making the whole shebang more maintainble.
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: