Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 984 Bytes

README.markdown

File metadata and controls

38 lines (27 loc) · 984 Bytes

OCamlTest

A framework for writing repeatable tests in the OCaml programming language.

Building pre-requisites

OCamlTest requires OMake and ocamlfind to build. You can install both with:

sudo aptitude install omake ocaml-findlib

on Ubuntu. For other operating systems, please refer to the OMake homepage and the Findlib homepage.

Building instructions

Run omake in the directory of this README file:

omake

Installation

To use the package in your OCaml projects, install OCamlTest by running:

sudo omake install

Uninstalling

To remove the installed OCamlTest OCaml package, run:

sudo omake uninstall

Using OCamlTest

When compiling your OCaml project, use ocamlfind with the directive '-package ocamltest', like this:

ocamlfind ocamlc -package ocamltest my_src.ml