mirror of https://github.com/catchorg/Catch2.git
parent
d4e5f18436
commit
e26e1567c8
|
@ -1,4 +1,4 @@
|
||||||
Although Catch allows you to group tests together as sections within a test case, it can still 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, 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 {
|
||||||
|
@ -29,4 +29,4 @@ The two test cases here will create uniquely-named derived classes of UniqueTest
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
[Home](../README.md)
|
[Home](../README.md)
|
||||||
|
|
Loading…
Reference in New Issue