clioc

Command-line program I/O checker.


Keywords
cli testing
License
GPL-2.0+
Install
pip install clioc==1.0a2

Documentation

Clioc is a utility for checking command-line programs in terms of their input and output. It checks whether a program generates the correct output when given some inputs. It was developed to evaluate simple programming assignments in an introductory programming course.

PyPI: https://pypi.python.org/pypi/clioc/
Repository: https://bitbucket.org/uyar/clioc
Documentation: https://clioc.readthedocs.io/

clioc has been tested with Python 3.4. You can install the latest version from PyPI:

pip install clioc

clioc uses pexpect for interacting with the program it is checking. The file that specifies the inputs and outputs for the checks is in YAML format.