https://github.com/mseri/ocaml-expect
Expect-like framework
https://github.com/mseri/ocaml-expect
Last synced: over 1 year ago
JSON representation
Expect-like framework
- Host: GitHub
- URL: https://github.com/mseri/ocaml-expect
- Owner: mseri
- License: other
- Created: 2017-07-26T08:59:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-26T10:40:52.000Z (almost 9 years ago)
- Last Synced: 2025-01-22T00:36:02.349Z (over 1 year ago)
- Language: OCaml
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- Changelog: CHANGES.txt
- License: COPYING.txt
Awesome Lists containing this project
README
********************************************************************************
* ocaml-expect: Expect-like framework for OCaml *
* *
* Copyright (C) 2010, OCamlCore SARL *
* *
* This library is free software; you can redistribute it and/or modify it *
* under the terms of the GNU Lesser General Public License as published by *
* the Free Software Foundation; either version 2.1 of the License, or (at *
* your option) any later version, with the OCaml static compilation *
* exception. *
* *
* This library is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more *
* details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this library; if not, write to the Free Software Foundation, *
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
********************************************************************************
ocaml-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](http://expect.nist.gov/) for more information and
example.
See the file [INSTALL.txt](INSTALL.txt) for building and installation
instructions.
[Home page](http://forge.ocamlcore.org/projects/ocaml-expect/)
Copyright and license
---------------------
(C) 2010 OCamlCore SARL
ocaml-expect is distributed under the terms of the GNU Lesser General Public
License version 2.1 with OCaml linking exception.
See [COPYING.txt](COPYING.txt) for more information.