Skip to main content

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


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.4.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

capturemock-2.8.4-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file capturemock-2.8.4.tar.gz.

File metadata

  • Download URL: capturemock-2.8.4.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

Hashes for capturemock-2.8.4.tar.gz
Algorithm Hash digest
SHA256 922e8e46b4cdfc3743445fadc9dc473300115dac2c4d6e669b974c9a0340492f
MD5 bd5ce38d5b8588ea56553101f28d644e
BLAKE2b-256 6e4398d4df5b9a00b0b3c84a1f63d23c256c6c12f7e6fe34fcf9c31ab2ae2bbf

See more details on using hashes here.

File details

Details for the file capturemock-2.8.4-py3-none-any.whl.

File metadata

  • Download URL: capturemock-2.8.4-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

Hashes for capturemock-2.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 07c435aacf96b007cf5b76aae773ba4400123cdd79b635527e252d9fadb9d9d1
MD5 24e07d0ee473151ebab5ba268cdf9d81
BLAKE2b-256 f04fe006b5b2a4e3709987870ac98cc9da12799d7e5bfc181e1d7df27106a67a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page