Skip to content

Commit

Permalink
Link to SECTIONS doc at top of test fixtures page.
Browse files Browse the repository at this point in the history
I came here looking for a way to use a fixture. But what I really wanted was better done in the SECTION macro. Feels like a link right at the top would've made it clearer faster.
  • Loading branch information
samcunliffe authored and horenmar committed Oct 15, 2022
1 parent e94976e commit d1394a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/test-fixtures.md
Expand Up @@ -3,7 +3,7 @@

## Defining test fixtures

Although Catch allows you to group tests together as sections within a test case, it can still be convenient, sometimes, to group them using a more traditional test fixture. Catch fully supports this too. You define the test fixture as a simple structure:
Although Catch allows you to group tests together as [sections within a test case](test-cases-and-sections.md), it can still be convenient, sometimes, to group them using a more traditional test fixture. Catch fully supports this too. You define the test fixture as a simple structure:

```c++
class UniqueTestsFixture {
Expand Down

0 comments on commit d1394a7

Please sign in to comment.