catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Add 'Introduced in Catch 2.6.0.' text
- Commit
42a59031887af4b69586703ed3f68dadb7e77ddb- Author
- Clare Macrae ·
- Committer
- Martin Hořeňovský
- Parents
c071f07e1ada
Changes
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 @@ <a id="top"></a> # 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,