Skip to content

ryandegruyter/mockito

 
 

Repository files navigation

Mockito

Tasty mocking framework for unit tests in Java

![build status](https://img.shields.io/badge/build-info =>-yellow.svg) Build Status Coverage Status

![latest 1.x](https://img.shields.io/badge/latest stable-1.x =>-yellow.svg) latest stable 1.x on bintray latest stable 1.x on maven central

![latest 2.x](https://img.shields.io/badge/latest beta-2.x =>-yellow.svg) Current release Maven Central

Current release

See the release notes page and latest documentation.

Versioning

Mockito has an automated release system, which imposed some change how the version numbers. While this is similar to semver, there's some differences. Let's look at at both versions 1.10.19 and 2.0.5-beta they follow this scheme :

major.minor.build-tag
number meaning
major major version, with most probably incompatible change in API and behavior
minor minor version, important enough change to bump this number
build a released build number incremented automatically a pull request is merged
tag will probably be -beta or just nothing

Looking for support

More information

All you want to know about Mockito is hosted at The Mockito Site which is Open Source and likes pull requests, too.

Want to contribute? Take a look at the Contributing Guide.

Enjoy Mockito!

About

Mocking framework for unit tests written in Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.4%
  • Other 1.6%