Eclipse plugin that simplifies test creation by providing refactorings for Mockito mocks.
- Introduce a @Mock field from non-existing variable declaration
- Introduce mock local variable from non-existing variable declaration
- Adds @RunsWith(MockitoJunitRunner.class) when needed
- Converts method invocation into mock recording (e.g. test.someMethod() -> when(test.someMethod()).thenReturn(<cursor_here>)).
Mockito Quick-Fix Tool in Alpha version is available via Eclipse Marketplace
Thanks to Travis CI for free CI instance