update terminology of class individuality as per PR feedback
This commit is contained in:
parent
568e00af15
commit
4f93bc01af
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue