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>)).
TBD.
Mockito Quick-Fix Tool in Alpha version is available via Eclipse Marketplace
http://marketplace.eclipse.org/content/mockito-quick-fix-tools
Thanks to Travis CI for free CI instance