-
Notifications
You must be signed in to change notification settings - Fork 584
ReleaseNotes137
Johan Haleby edited this page Jul 23, 2015
·
2 revisions
Support for Mockito 1.8.4 and new experimental bootstrap using JUnit 4.7+
- It's now possible to bootstrap PowerMock using a JUnit Rule instead of the RunWith annotation. This allows you to use other JUnit runners than the PowerMock one (PowerMockRunner) while still benefiting from PowerMock's functionality. It's still experimental but we encourage everyone to try it out. It'll probably be the default way of bootstrapping PowerMock in the future. See examples in subversion and the wiki page for more info.
- Upgraded the Mockito extension to use Mockito 1.8.4
- Fixed so that a "mock name" is set in the Mockito extension API. Fixes NullPointerException when e.g. toString is invoked on a mock. (issue 239)
- Added support for suppressing all constructors in a class using suppress(constructorsDeclaredIn(X.class))
- Added support for suppressing all constructors and methods in a class suppress(everythingDeclaredIn(X.class))
See change log for more details