You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we add more and more test classes we often have code blocks that are repeatedly used between test functions as part of test setup. These code blocks are maintained in base test classes from which we then create subclasses that are base classes for other test classes. To better simplify our code and not be limited to the restrictions of inheritance we should implement a protocol(s). The protocol(s) would then give us "global" access to data and functions useful in test setup.
Acceptance Criteria:
All base test classes are removed
A protocol or protocols exist that provide existing test classes with the setup data and functions they need
Description:
As we add more and more test classes we often have code blocks that are repeatedly used between test functions as part of test setup. These code blocks are maintained in base test classes from which we then create subclasses that are base classes for other test classes. To better simplify our code and not be limited to the restrictions of inheritance we should implement a protocol(s). The protocol(s) would then give us "global" access to data and functions useful in test setup.
Acceptance Criteria:
Related tickets:
#562
#590
The text was updated successfully, but these errors were encountered: