update terminology of class individuality as per PR feedback

This commit is contained in:
symonk 2020-05-24 16:31:51 +01:00
parent 568e00af15
commit 4f93bc01af
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
* 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 test does not have the same instance of the class.
Something to be aware of when grouping tests inside classes is that each 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.
This is outlined below: