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.8.3.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.8.3.tar.gz.
File metadata
- Download URL: capturemock-2.8.3.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 |
f9ca141e49a2fc12e1cdcb1a9533a03c1a8f0030c7665bd0cb892db91358f0b4
|
|
| MD5 |
3f1c9ce35939cd0753d56db2b700cdd9
|
|
| BLAKE2b-256 |
638314b340e21fca87da3c9c6fbecc23f86bc989a189908070f9c19bfbb0b3ad
|
File details
Details for the file capturemock-2.8.3-py3-none-any.whl.
File metadata
- Download URL: capturemock-2.8.3-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 |
35c24f0f30ead52e9b9814e3c5124ef313f9578bffbdf979efbe4703b8867500
|
|
| MD5 |
420355a75e0adfdf38e775b4e0cb5388
|
|
| BLAKE2b-256 |
a350e7e6c59fa0939df62f45c1d9c5a4b5e2b30bc96735a2f3dd5fb2a7bd39c1
|