A tool for creating mocks via a capture-replay style approach
Project description
CaptureMock:
A tool capable of capturing and replaying mock information for the purposes of testing. Supports
- Python modules and attributes
- System calls via the command line, including any files they write
- Synchronous plain-text messaging over a network
See the documentation at http://www.texttest.org/index.php?page=capturemock
System requirements:
At least Python 2.6. Tested mainly on Python 3.7 currently.
Installation:
Go to the "source" directory and run "python setup.py install".
On Windows, this will probably install to C:\Pythonxx\Scripts, which will then need to be in your PATH if you want to run it from the command line.
Documentation:
http://texttest.sourceforge.net/index.php?page=capturemock
Test suite:
The complete test suite (which uses Texttest) can be downloaded from Github at https://github.com/texttest/capturemock-selftest. It has a wealth of little example programs contained in it.
Bugs/Support:
Write to the mailing list at texttest-users@lists.sourceforge.net
Report bugs in the Github bugtracker at https://github.com/texttest/capturemock
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
capturemock-2.9.0.tar.gz
(5.5 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file capturemock-2.9.0.tar.gz.
File metadata
- Download URL: capturemock-2.9.0.tar.gz
- Upload date:
- Size: 5.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c560453b3dab60cf083ddff30d39e4a413fb0e3b1635baf80bec1d225eafe4e
|
|
| MD5 |
a8b6007b3be13016b33ef9654e89f6e9
|
|
| BLAKE2b-256 |
c2e4502b58242874fc0024fd646dcbdc346a7f3e0c122a378c8a08c1f7ee0f4f
|
File details
Details for the file capturemock-2.9.0-py3-none-any.whl.
File metadata
- Download URL: capturemock-2.9.0-py3-none-any.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6305fb0a67db1f9feaf7160278cf3cb4f2a16bab2002bf6f35c485b145ee7b9
|
|
| MD5 |
78279e973d60a2295a80841d19466ae0
|
|
| BLAKE2b-256 |
254af1687e7e98f569f88fd4f87ae9609febdf4c2370b83acc9aba93695cd6ff
|