add missing test text to docs

This commit is contained in:
symonk 2020-05-24 16:33:17 +01:00
parent 4f93bc01af
commit 5061a47de8
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ Grouping tests in classes can be beneficial for the following reasons:
* Sharing fixtures for tests only in that particular class * Sharing fixtures for tests only in that particular class
* Applying marks at the class level and having them implicitly apply to all tests * Applying marks at the class level and having them implicitly apply to all tests
Something to be aware of when grouping tests inside classes is that each has a unique instance of the class. Something to be aware of when grouping tests inside classes is that each test has a unique instance of the class.
Having each test share the same class instance would be very detrimental to test isolation and would promote poor test practices. Having each test share the same class instance would be very detrimental to test isolation and would promote poor test practices.
This is outlined below: This is outlined below: