Metadata-Version: 1.1
Name: cli_mock
Version: 0.0.1
Summary: Mock command line utils by replaying recorded invocations
Home-page: https://github.com/kvas-it/cli-mock
Author: Vasily Kuznetsov
Author-email: kvas.it@gmail.com
License: MIT
Description: Cli Mock
        ========
        
        .. image:: https://travis-ci.org/kvas-it/pytest-console-scripts.svg?branch=master
            :target: https://travis-ci.org/kvas-it/pytest-console-scripts
            :alt: See Build Status on Travis CI
        
        This package provides two command line utilities: ``crecord`` and ``creplay``.
        The former records the output (stdout and stderr) and the return code of a
        command and the latter replays the command invocation by reproducing its output
        and return code::
        
            $ crecord echo foo
            foo
            $ creplay echo foo
            foo
            $ crecord ls foo
            ls: foo: No such file or directory
            $ creplay ls foo
            ls: foo: No such file or directory
            $ echo $?
            1
        
        This could be used to mock slow and environment-dependent command invocations
        for testing purposes.
        
Keywords: cli console mock record replay
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
