python-minimock

simple library for Python mock objects

Description

minimock is a simple Python library for using mock objects.

Its mock objects will report any access made to the mock object's interfaces. The programmer can easily make assertions about how mock objects are used in the test cases, by using the standard-library ‘doctest’ module to match the reported access against expected behaviour.

Mock objects can return specified values, raise exceptions, etc. to simulate the mocked behaviour. Existing objects can optionally be replaced in-place in their namespace by a mock object, and restored safely after testing.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

http://pypi.python.org/pypi/MiniMock


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python-minimock