软件包:ocaml-qtest(2.11.2-4 以及其他的) [debports]
Inline (Unit) Tests for OCaml (Executable)
qtest extracts inline unit tests written using a special syntax in comments. Those tests are then run using the oUnit framework and the qcheck library. The possibilities range from trivial tests -- extremely simple to use -- to sophisticated random generation of test cases.