Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/picimako/mockitools
Mockito framework integration for the IntelliJ platform.
https://github.com/picimako/mockitools
intellij intellij-plugin made-in-hungary mocking mockito unit-testing
Last synced: about 2 months ago
JSON representation
Mockito framework integration for the IntelliJ platform.
- Host: GitHub
- URL: https://github.com/picimako/mockitools
- Owner: picimako
- License: apache-2.0
- Created: 2021-10-11T08:20:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-20T13:13:04.000Z (3 months ago)
- Last Synced: 2024-10-10T18:47:31.344Z (2 months ago)
- Topics: intellij, intellij-plugin, made-in-hungary, mocking, mockito, unit-testing
- Language: Java
- Homepage: https://plugins.jetbrains.com/plugin/18117-mockitools
- Size: 6.52 MB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Mockitools IntelliJ plugin
[![Version](https://img.shields.io/jetbrains/plugin/v/18117-mockitools.svg)](https://plugins.jetbrains.com/plugin/18117-mockitools)
![Build](https://github.com/picimako/mockitools/workflows/Build/badge.svg)Mockitools is a plugin for IntelliJ-based IDEs that provides framework integration for [Mockito](https://site.mockito.org),
one of the (if not the) most popular mocking frameworks for unit testing in Java.It provides features in the following areas of Mockito:
- [Mock creation](docs/mock_creation.md)
- [Stubbing](docs/stubbing.md)
- [Mockito verifications](docs/verifications.md)
- [Argument matching and capturing](docs/argument_matching_capture.md)
- [Version migration aids](docs/migration_aids_v4.md)
- [Framework integration](docs/framework_integration.md)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](docs/migration_aids_v4.md).
## 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](https://www.facebook.com/Thubakabra), for creating the logo.
## Reading
- [DZone: IntelliJ Integration for Mockito](https://dzone.com/articles/intellij-mockito-integration)
---
Plugin based on the [IntelliJ Platform Plugin Template][template].[template]: https://github.com/JetBrains/intellij-platform-plugin-template