Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider clearing MockRepository state when a test is started #235

Closed
johanhaleby opened this issue Jul 23, 2015 · 1 comment
Closed

Consider clearing MockRepository state when a test is started #235

johanhaleby opened this issue Jul 23, 2015 · 1 comment

Comments

@johanhaleby
Copy link
Collaborator

From johan.ha...@gmail.com on December 09, 2009 11:35:37

In some cases users forget to use the powermock runner when creating mocks
(e.g. PowerMock.createMock(X.class)) which will leave stuff in the mock
repository. This may lead to errors later in a test suite. To avoid this
always clear the MockRepository state when a new test-class is started.

Original issue: http://code.google.com/p/powermock/issues/detail?id=215

@johanhaleby
Copy link
Collaborator Author

From johan.ha...@gmail.com on December 13, 2009 00:24:50

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant