commit | 2d906a92cb82fe65e3cafab6495c0fd12a0ab0ab | [log] [tgz] |
---|---|---|
author | Jozef Grajciar <jozef.grajciar@gmail.com> | Thu Nov 08 07:26:39 2018 +0100 |
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | Fri Nov 16 21:21:23 2018 +0100 |
tree | 62d261e283ba2105c8efff8a68be3e8ac859e570 | |
parent | 489a41012e396868954a3e9ee39de26fa432ab44 [diff] |
Add support for templated tests This adds support for templated tests and test methods via `TEMPLATE_TEST_CASE` and `TEMPLATE_TEST_CASE_METHOD` macros. These work mostly just like their regular counterparts*, but take an unlimited** number of types as their last arguments. * Unlike the plain `TEST_CASE*` macros, the `TEMPLATE*` variants require a tag string. ** In practice there is limit of about 300 types.
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: