Mandatory setUp & tearDown upcalling makes migrating to testtools harder
Bug #1514540 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Related to #344023
If you're changing the base class of an existing test suite to testtools, then you have to go through and fix every single definition of setUp & tearDown (or do something nasty with private variables).
*Maybe* this is a feature, but it does make adoption harder than it could be.
To post a comment you must log in.
We could add way to make the cross check degrade to a warning. E.g. a class variable. Then to migrate you'd make an intermediary base class that set it to warning, and burn it down more slowly.