-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Labels
enhancementNew feature or requestNew feature or requesttestingImprove the test suite(s)Improve the test suite(s)
Milestone
Description
- This library unfortunately has a lot of static state
- You'll find a number of classes that have a
reset()method, so that as we run unit tests, state modifications from one test don't unintentionally impact another test - This is really error prone, is difficult to detect when missed, and is just difficult to maintain. This feels like an anti-pattern.
- Find a better solution for this.
- Part of the solution is likely implementing a JUnitRule instead of @Before/@after reset() methods
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttestingImprove the test suite(s)Improve the test suite(s)