OUnit is a unit test framework for OCaml. It allows one to easily create unit-tests for OCaml code. It is loosely based on HUnit, a unit testing framework for Haskell. It is similar to JUnit, and other XUnit testing frameworks.
The recommended way to install ounit is via the opam package manager:
$ opam install ounitAPI documentation is available online.
From the examples/ directory of ounit:
External projects: