Skip to content

picimako/mockitools

Repository files navigation

Mockitools IntelliJ plugin

Version Build

Mockitools is a plugin for IntelliJ-based IDEs that provides framework integration for Mockito, one of the (if not the) most popular mocking frameworks for unit testing in Java.

It provides features in the following areas of Mockito:

In the Intellij Inspections settings, all inspections are available under the Java / Mockito folder.

Plugin setup

Mockito 4 migration aids

There is a handful of inspections available to help migrate users from Mockito 2.x/3.x to 4.x.

Since Mockito 5 has already been available for a while, these inspection are disabled by default. However, if you are still on Mockito 2.x or 3.x, you can enable them under Java > Mockito > Migration aids (v4) in the Inspection settings.

See the list of those inspections in Mockito v4 migration aids.

Licensing

This project and the plugin logo are licensed under the terms of Apache Licence Version 2.0.

Acknowledgments

Thank you to my good friend, Thubakabra, for creating the logo.

Reading


Plugin based on the IntelliJ Platform Plugin Template.