Skip to content

Mockito for other languages

Szczepan Faber edited this page Jan 29, 2017 · 4 revisions

People use different languages but there is something everyone has in common. Everyone enjoys the refreshing taste of Mockito!

Python

So, your favorite pet is a snake? Check out herr kaste's mockito-python repository on GitHub. If you like history, see the old 2010 archive of Serhiy Oplakanets' Mockito-Python's Google Code site.

Flex

Ok, you're a flexible one. You might be interested in Krzysztof Karczmarczyk's Mockito-flex.

Javascript

Excellent, welcome to the cool kids. Take a sip of Chris Leishman's jsMockito.

Scala

My friend Phil Wills, the guardian of Guardian, informs that two dominant Scala testing frameworks, Scalatest and Specs have some syntactic sugar support for Mockito.

Objective C

Jon Reid brewed a nice port for the bitten apple developpers. Taste it at OCMockito's place.

Perl

Two entries in the Perl menu.

  • Spencer P uses Perl to serve the best coctails. Check out Pockito.
  • Steven Lee offers a different mix with the aroma of Test::Mocha.

PHP

Even the notorious web developers know what to drink to keep smiling. The Phockito is brought to you by Hamish Friedlander.

MATLAB

Mathematicians will certainly enjoy MMockito by Vladimir Perić.

TypeScript

If you like strong typing and want to develop front end app, try TypeScript and ts-mockito.

Dart

Mocking framework for Dart inspired on Mockito: https://github.com/dart-lang/mockito

Did I miss something?

Let us know :)