You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: