package expect

  1. Overview
  2. Docs
Simple implementation of 'expect' to help building unitary testing of interactive program

Install

Dune Dependency

Authors

Maintainers

Sources

expect-0.1.0.tbz
sha256=25465f78cff8ba44e85cafdff053b9a30320269c2bbb851d2b34d855d6464cc1
sha512=4f4567812afb9ef611749b5256550c05b1ec03c3910e9a3336ec4dec54156b4596acb27143c758e1ebd035398412cd21a0b90c7c4559c0ad57e91355d24a273a

README.md.html

Expect - expect-like framework

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.

Installation

The recommended way to install expect is via the [opam package manager][opam]:

$ opam install expect

Documentation

API documentation is available online.

OCaml

Innovation. Community. Security.