proctest

An IO library for testing interactive command line programs

https://github.com/nh2/proctest

Latest on Hackage:0.1.3.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Niklas Hambüchen
Maintained by Niklas Hambüchen

An IO library for testing interactive command line programs

Proctest aims to simplify interacting with and testing terminal programs, providing convenience functions for starting programs and reading their output.

All blocking operations support timeouts so that misbehaving programs cannot block your test pipeline.

Find more examples and contribute at https://github.com/nh2/proctest.