Massive StackOverflow community voted Mockito the best mocking framework for java.Įven though StackOverflow shuns questions that likely raise emotional debates the fact is Mockito doesn’t give you hangover because the tests are very readable and they produce clean verification errors. It lets you write beautiful tests with a clean & simple API. Mockito is a mocking framework that tastes really good. Contribute a pull request! It is automatically released via state-of-art continuous delivery automation.Help the project site look decent and match the quality of the library!.Report issues and suggest ideas on the GitHub issue tracker.
Mockito 3.x requires Java 8, but otherwise doesn’t introduce any breaking changes compared to the 2.x series.įancy getting world-wide visibility and building up an eternal fame of an OSS contributor? Still on Mockito 1.x? See what’s new in Mockito 2! (the site is updated within 24 hours of the latest release). The documentation for all versions is available on Mockito downloads and instructions for setting up Maven, Gradle and other build systems are available from the Updates are announced via Twitter Follow mailing list.