From e7c3bdb3514ddb25c82180d6c9cab5a6cda939cf Mon Sep 17 00:00:00 2001 From: Clare Macrae Date: Sun, 21 Jul 2019 20:55:32 +0100 Subject: [PATCH] Add 'Introduced in Catch 2.8.0.' text --- docs/test-cases-and-sections.md | 2 ++ docs/test-fixtures.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/test-cases-and-sections.md b/docs/test-cases-and-sections.md index bce2978e..fc981dd1 100644 --- a/docs/test-cases-and-sections.md +++ b/docs/test-cases-and-sections.md @@ -214,6 +214,8 @@ TEMPLATE_LIST_TEST_CASE("Template test case with test types specified inside std ## Signature based parametrised test cases +> [Introduced](https://github.com/catchorg/Catch2/issues/1609) in Catch 2.8.0. + In addition to [type parametrised test cases](#type-parametrised-test-cases) Catch2 also supports signature base parametrised test cases, in form of `TEMPLATE_TEST_CASE_SIG` and `TEMPLATE_PRODUCT_TEST_CASE_SIG`. These test cases have similar syntax like [type parametrised test cases](#type-parametrised-test-cases), with one diff --git a/docs/test-fixtures.md b/docs/test-fixtures.md index a3fdb9ff..832bba12 100644 --- a/docs/test-fixtures.md +++ b/docs/test-fixtures.md @@ -88,6 +88,8 @@ the limit is very high and should not be encountered in practice._ ## Signature-based parametrised test fixtures +> [Introduced](https://github.com/catchorg/Catch2/issues/1609) in Catch 2.8.0. + Catch2 also provides `TEMPLATE_TEST_CASE_METHOD_SIG` and `TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG` to support fixtures using non-type template parameters. These test cases work similar to `TEMPLATE_TEST_CASE_METHOD` and `TEMPLATE_PRODUCT_TEST_CASE_METHOD`, with additional positional argument for [signature](test-cases-and-sections.md#signature-based-parametrised-test-cases).