
Mockito
6.3#14 in unit testing frameworksFree planFree planAndroidLinuxSelf-hosted
Visit
| Fact | Mockito | ScalaCheck |
|---|---|---|
| Distribution | The recommended installation method is adding the mockito-core dependency through a build system. | Build artifacts are published in the Central Repository, and the download page gives an sbt dependency declaration. |
| License | The repository publishes Mockito under the MIT License. | The project build identifies its license as BSD-3-Clause. |
| Purpose | Mockito is a mocking framework for writing unit tests in Java. | ScalaCheck is a Scala library for automated property-based testing of Scala or Java programs. |
| Security | The repository links to a security policy. | The GitHub repository page lists a security policy. |
| Support | The project directs users to its mailing list for questions and documentation feedback, and GitHub for bugs and feature requests. | The documentation page links to GitHub bug reports, a mailing list and Stack Overflow. |
Mockito suits Java developers writing unit tests who need to control dependencies and check interactions. Android developers can use it with Dexmaker, subject to the stated platform requirements.
ScalaCheck is suited to developers testing Scala or Java code with randomized property checks. It fits projects using sbt or the listed testing integrations, and can also be run standalone.