• en

alcotest 0.2.0

Author Thomas Gazagnaire
License ISC
Maintainer thomas@gazagnaire.org
Dependencies
& cmdliner
ocamlfind
ounit >= 1.1.2
re
OCaml >= 4.00.1
Published Dec 19, 2013
Source [http] https://github.com/samoht/alcotest/archive/0.2.0.tar.gz
d947d3a49fd36a2588b1a71c703bce26
Edit https://github.com/ocaml/opam-repository/tree/master/packages/alcotest/alcotest.0.2.0/opam

Alcotest is a lightweight and colourful test framework

Alcotest exposes a much restricted interface than OUnit, as you can only pass to Alcotest.run a tree of callbcks of depth 2, and the callbacks are unit -> unit functions that you can build using the usual OUnit.assert_* functions or any other means (including Quickcheck-like test generations).

This limitation enables Alcotest to provides a quiet and colorful output where only faulty runs are fully displayed at the end of the run (with the full logs ready to inspect), with a simple (yet expressive) query language to select the tests to run.

Necessary for
irmin
0.8.0