Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
powerful mock, expectation and unit test helpers for python
Python Makefile

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
mocktest
test
.gitignore
Capfile
LICENCE
Makefile
VERSION
conf.py
mocktest.xml
readme.rst
setup.py

readme.rst

mocktest

... is a powerful and easy-to-use mocking library, inspired by rspec and similar in some ways to Michael Foord's popular Mock module.

The main features are:

  • expressive DSL for specifying expectations, stubs and replacement objects
  • powerful expectation matching behaviour for mock objects
  • automatic verification of expectations (before each test's tearDown)
  • automatic rollback of inserted mock objects after each test
  • descriptive error messages when something fails

It's released under the GPLv3 licence (see the LICENCE file).

Source / Readme / Issues: http://github.com/gfxmonk/mocktest/tree/master

Zero install feed: http://gfxmonk.net/dist/0install/mocktest.xml (this is the preferred distribution method)

Cheese shop entry: http://pypi.python.org/pypi/mocktest

Documentation

Please see the full documentation online at: http://gfxmonk.net/dist/doc/mocktest/doc/

Something went wrong with that request. Please try again.