From 42a59031887af4b69586703ed3f68dadb7e77ddb Mon Sep 17 00:00:00 2001 From: Clare Macrae Date: Mon, 22 Jul 2019 12:31:33 +0100 Subject: [PATCH] Add 'Introduced in Catch 2.6.0.' text --- docs/configuration.md | 1 + docs/generators.md | 2 ++ docs/test-cases-and-sections.md | 2 ++ 3 files changed, 5 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 0108bdcd..2780ff07 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -211,6 +211,7 @@ By default, Catch does not stringify some types from the standard library. This CATCH_CONFIG_ENABLE_OPTIONAL_STRINGMAKER // Provide StringMaker specialization for std::optional (on C++17) CATCH_CONFIG_ENABLE_ALL_STRINGMAKERS // Defines all of the above +> `CATCH_CONFIG_ENABLE_OPTIONAL_STRINGMAKER` was [introduced](https://github.com/catchorg/Catch2/issues/1510) in Catch 2.6.0. ## Disabling exceptions diff --git a/docs/generators.md b/docs/generators.md index d3ac3a51..e3c36407 100644 --- a/docs/generators.md +++ b/docs/generators.md @@ -1,6 +1,8 @@ # Data Generators +> Introduced in Catch 2.6.0. + Data generators (also known as _data driven/parametrized test cases_) let you reuse the same set of assertions across different input values. In Catch2, this means that they respect the ordering and nesting diff --git a/docs/test-cases-and-sections.md b/docs/test-cases-and-sections.md index fc981dd1..18bfa9b4 100644 --- a/docs/test-cases-and-sections.md +++ b/docs/test-cases-and-sections.md @@ -151,6 +151,8 @@ TEMPLATE_TEST_CASE( "vectors can be sized and resized", "[vector][template]", in * **TEMPLATE_PRODUCT_TEST_CASE(** _test name_ , _tags_, (_template-type1_, _template-type2_, ..., _template-typen_), (_template-arg1_, _template-arg2_, ..., _template-argm_) **)** +> [Introduced](https://github.com/catchorg/Catch2/issues/1468) in Catch 2.6.0. + _template-type1_ through _template-typen_ is list of template template types which should be combined with each of _template-arg1_ through _template-argm_, resulting in _n * m_ test cases. Inside the test case,