1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
The OUnit library
Overview
OUnit is a unit testing framework for Objective Caml, inspired by
the JUnit tool for Java, and the HUnit tool for Haskell. OUnit is
free software; see its "LICENCE" file for details. OUnit is
available at <http://home.wanadoo.nl/maas/ocaml>.
Installation
- Edit the variable at the beginning of the Makefile. The defaults
are ok for Linux.
- Do "make all" to make a bytecode archive.
- If the Objective Caml native-code compiler is available on your
platform (look for the "ocamlopt" executable), do "make allopt".
- To generate the documentation, do "make doc"
- (Optional) To test the library, do "make test"
- (Optional) To test the library compiled with ocamlopt and ocamlc,
do "make testall"
- Become super-user if necessary and do "make install". This
installs the library in the standard Objective Caml library
directory.
- Do a "make uninstall" to remove the library.
Documentation
See the HTML documentation in doc/index.html
References
The libary is based on the HUnit unittest framework. More
information on HUnit can be found at: <http://hunit.sourceforge.net>
|