mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Link to SECTIONS doc at top of test fixtures page.
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.
This commit is contained in:
parent
e94976ec9c
commit
d1394a7064
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
## Defining test fixtures
|
## 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++
|
```c++
|
||||||
class UniqueTestsFixture {
|
class UniqueTestsFixture {
|
||||||
|
Loading…
Reference in New Issue
Block a user