Merge pull request #344 from therocode/patch-1

Update test-fixtures.md
This commit is contained in:
Phil Nash 2014-12-30 18:36:27 +00:00
commit b9ec8a10ed

View File

@ -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)