-
-
Notifications
You must be signed in to change notification settings - Fork 150
Closed
Labels
Description
Having a mocker.resetall()
method, similar to mocker.stopall()
, would be very handy. Most of the time if I mock things, it's because I'm testing a side-effecting function which cannot be blackboxed effectively, and will want to walk through multiple code paths while checking that various callees were/were not called as appropriate. This commonly involves resetting the mocks, so not having to reset them individually would greatly increase the usefulness of mocker
.