Add ToC to "Test cases and sections" documentation

This commit is contained in:
Martin Hořeňovský 2018-11-17 11:09:15 +01:00
parent 68860ff129
commit 396e0951c8
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -1,6 +1,12 @@
<a id="top"></a> <a id="top"></a>
# Test cases and sections # Test cases and sections
**Contents**<br>
[Tags](#tags)<br>
[Tag aliases](#tag-aliases)<br>
[BDD-style test cases](#bdd-style-test-cases)<br>
[Type parametrised test cases](#type-parametrised-test-cases)<br>
While Catch fully supports the traditional, xUnit, style of class-based fixtures containing test case methods this is not the preferred style. While Catch fully supports the traditional, xUnit, style of class-based fixtures containing test case methods this is not the preferred style.
Instead Catch provides a powerful mechanism for nesting test case sections within a test case. For a more detailed discussion see the [tutorial](tutorial.md#test-cases-and-sections). Instead Catch provides a powerful mechanism for nesting test case sections within a test case. For a more detailed discussion see the [tutorial](tutorial.md#test-cases-and-sections).