GithubHelp home page GithubHelp logo

hersoncruz / mockito Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mockito/mockito

0.0 2.0 0.0 75.42 MB

Mocking framework for unit tests written in Java

Home Page: http://mockito.org

License: MIT License

Java 98.17% Groovy 1.40% HTML 0.43%

mockito's Introduction

Mockito

Tasty mocking framework for unit tests in Java

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

![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 the following versions 1.10.19 and 2.0.5-beta and 2.0.0 (not yet released) 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 (during beta, breaking changes are expected)

That means :

  • 2.0.0 and 2.0.5-beta are binary incompatible with 1.10.19.
  • 2.0.5-beta is the fifth release beta of version 2.0.0.
  • 2.0.5-beta is a work in progress, api may change and may not be graduated in version 2.0.0

Looking for support

How to build?

To build locally:

 ./gradlew build

To develop in IDE you can use built-in Gradle import wizard in IDEA. Alternatively generate the importable IDE metadata files using:

 ./gradlew idea

Then, open the generated *.ipr file in IDEA.

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!

mockito's People

Contributors

mockitoguy avatar bric3 avatar continuous-delivery-drone avatar iczechowski avatar bbankowski avatar marcingrzejszczak avatar lukasz-szewc avatar dawood-ibn-kareem avatar pimterry avatar lpandzic avatar szpak avatar wernight avatar jerzykrlk avatar alberskib avatar josephw avatar dmac100 avatar guw avatar hughwphamill avatar hmlnarik avatar ianparkinson avatar kamilszymanski avatar michalborek avatar mariusvolkhart avatar mkordas avatar lucascs avatar afnrfcb7 avatar carlos-aguayo avatar brewerc avatar ludomeurillon avatar jrrickard avatar

Watchers

James Cloos avatar Herson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.