Skip to content

gildor478/ocaml-expect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expect - expect-like framework

OCaml-CI Build Status

Note

This library hasn't received a lot of udpates recently and is kept mostly for backward compatibility. The original author is not planning to add features or make significant updates. There is an alternative MDX which is integrated in dune and is more focused on comparing output for testing.

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors