A tool for creating mocks via a capture-replay style approach. Records interaction to a separate file which can then be used to replay in future. Interaction can thus be recaptured from a real system at any point, and no mock code needs to be written.
Handles Python calls, command-line programs, and synchronous messaging over networks.
All bugs Latest bugs reported
Bug #1315129: Trouble with intercepting/playing back submodule (sqlalchemy.exc)
Reported on 2014-05-01
Bug #1314408: capturemock scans sys.modules, which can interact badly with six module
Reported on 2014-04-29
Bug #1298839: overwrites sys.meta_path; removes import hooks from other tools such as py.test
Reported on 2014-03-28
Bug #1298649: Release new version of CaptureMock to PyPI?
Reported on 2014-03-27
Bug #1291399: capturemock recording badly quoted '''null''' that it can't replay
Reported on 2014-03-12