This is a simple implementation of expect
to help building unitary testing
of interactive program.
It helps to receive question and send answers from an interactive process. You can match the question using a regular expression (Str). You can also use a timeout to ensure that the process answer in time.
See the Expect manual for more information and example.
The recommended way to install expect is via the [opam package manager][opam]:
$ opam install expect
API documentation is available online.