Right now only fixtures are available, making it impossible to change the overall behavior of the mock in between test cases.
This is currently worked around by separating tests in different files, based on the mock global settings. However it's not user-friendly enough, especially if those tests are essentially part of the same application context, thus belonging to the same test file / class.
Right now only fixtures are available, making it impossible to change the overall behavior of the mock in between test cases. This is currently worked around by separating tests in different files, based on the mock global settings. However it's not user-friendly enough, especially if those tests are essentially part of the same application context, thus belonging to the same test file / class.