commit | c99a346490cc8380811cf32c880bc3f5f3abf07a | [log] [tgz] |
---|---|---|
author | Tobias Ribizel <mail@upsj.de> | Sun Feb 17 21:52:22 2019 +0100 |
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | Sun Feb 17 21:52:22 2019 +0100 |
tree | 3d55c112be7bc6b29d7b6e16a3c100a9107f0cd9 | |
parent | 359a54b6bd642b51481057c15007e3192cf3d26c [diff] |
Use correct type name instead of index for TEMPLATE_PRODUCT_TEST_CASE (#1544) Previously, for a TEMPLATE_PRODUCT_TEST_CASE("Test" ..., T, (P1, P2)), the generated test case names were Test - 0 Test - 1 With this commit, the correct typename is used: Test - T<P1> Test - T<P2> ----------- MSVC needs another indirection to evaluate INTERNAL_CATCH_STRINGIZE and also inserts a space before theINTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS parameter, which we can get rid of by pointer arithmetic.
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: