package expect

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

Description

You can match the question using a regular expression or a timeout.

See the Expect manual for more information: http://expect.nist.gov/

Added to opam-repository:

README

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.

Dependencies (5)

  1. ocaml >= "4.14"
  2. batteries >= "3.8.0"
  3. re >= "1.12.0"
  4. base-unix
  5. dune >= "2.9"

Dev Dependencies (2)

  1. odoc with-doc
  2. ounit2 >= "2.0.0" & with-test

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building expect with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.1.0 (this version) n/a good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure