Download List

Projeto Descrição

CaptureMock provides capture-replay mocking for Python, on the command line and with client-server communication. CaptureMock's approach is a so-called capture-replay approach. This means that when you 'record' your mock, CaptureMock will observe the interaction between your code and the subsystem you are mocking out, and record it in a text file in its own format. When you then run your test in 'replay mode', CaptureMock can play the role of the subsystem in question, and the real subsystem does not need to even be installed. You can then choose, each time you run your tests, whether you wish to have the real subsystems present and verify/recreate the captured mocks, or to rely on the mocks captured by a previous run. If you are running in 'replay mode' and CaptureMock does not receive the same calls as previously, it will fail the test, and suggest that you may want to recreate the mocks in record mode.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2011-11-13 09:17
0.3

Esta versão suporta "herdando no limite de interceptação", ou seja, tendo seu código não interceptou herdar de classes que está interceptando. Alterações de tráfego ("alterações" no arquivo RC) agora estão também habilitadas no tráfego de clientes personalizados. Foram feitas correções de bugs.
Tags: Enhancements, bug
This release supports "inheriting across the interception boundary", i.e., having your non-intercepted code inherit from classes you're intercepting. Traffic alterations ("alterations" in the RC file) are now also enabled on traffic from custom clients. Bugfixes have been made.

2011-06-09 05:31
0.2

Bugs foram corrigidos. Um novo mecanismo através do qual clientes personalizados podem ser escritos em outros idiomas além do Python foi adicionado.
Tags: Enhancements, Bug fixes
Bugs were fixed. A new mechanism whereby custom clients can be written in languages other than Python was added.

2011-04-09 07:24
0.11

Um bugfix única que torna utilizável a partir nosetests e possivelmente também unittest2.
Tags: Major bugfix
A single bugfix that makes it usable from nosetests and possibly also unittest2.

Project Resources