package expect

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Expect - expect-like framework

OCaml-CI Build Status

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.