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
Metadata
Release files for CaptureMock 2.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| capturemock-2.10.0.tar.gz | 5.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| capturemock-2.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.0 MB
Release files / capturemock-2.10.0.tar.gz
| Download URL | capturemock-2.10.0.tar.gz |
|---|---|
| Size | 5.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bcb56c97657df3ef5965eeda8c4520efe9bba771ef063c23ad3050e344fa8a8
|
|
BLAKE2b-256 checksum How to use checksums |
e6f1b765f7875780a729ad6c9946456afd9c9e6f5f4fe867fe38b259af9e3304
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / capturemock-2.10.0-py3-none-any.whl
| Download URL | capturemock-2.10.0-py3-none-any.whl |
|---|---|
| Size | 5.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fdbe4d6573e016ec0667ec57c169eed8b6a5859f1bac63bb024510c1f24ca2e
|
|
BLAKE2b-256 checksum How to use checksums |
c898d7d917a15eca80597c0f2856e1e93837e720bda55f56b2c8ffdb66b7c808
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|