Skip to main content

A tool for creating mocks via a capture-replay style approach

Project description

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.

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-1.1.tar.gz (46.5 kB view details)

Uploaded Source

File details

Details for the file CaptureMock-1.1.tar.gz.

File metadata

  • Download URL: CaptureMock-1.1.tar.gz
  • Upload date:
  • Size: 46.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for CaptureMock-1.1.tar.gz
Algorithm Hash digest
SHA256 5d0898b6e03f52eca27866dfad63654d7a32bb55d8b5cee789e7eb16e0fa29a1
MD5 babb04c5bfddb064de2d229a974668cc
BLAKE2b-256 6d226509dfe68069aa05312f7e5173db644a13d76d142f50169d792554d31719

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