Docs: added docs for TEMPLATE_PRODUCT_TEST_CASE

This commit is contained in:
Jozef Grajciar
2018-11-25 14:45:37 +01:00
parent 21a1cd5683
commit 5b4ffd3c93
3 changed files with 77 additions and 12 deletions

View File

@@ -260,8 +260,9 @@ Do not write your tests in header files!
## Type parametrised test cases
Test cases in Catch2 can be also parametrised by type, via the
`TEMPLATE_TEST_CASE` macro, which behaves in the same way the `TEST_CASE`
macro, but is run for every type.
`TEMPLATE_TEST_CASE` and `TEMPLATE_PRODUCT_TEST_CASE` macros,
which behave in the same way the `TEST_CASE` macro, but are run for
every type or type combination.
For more details, see our documentation on [test cases and
sections](test-cases-and-sections.md#type-parametrised-test-cases).