alcotest

AuthorThomas Gazagnaire
LicenseISC
Homepagehttps://github.com/mirage/alcotest/
Issue Trackerhttps://github.com/mirage/alcotest/issues/
Maintainerthomas@gazagnaire.org
Dependencies
&astring
cmdliner
fmt>= 0.7.1
oasis
ocamlbuild
ocamlfind
result
Availableocaml-version >= "4.01.0" & ocaml-version < "4.06.0"
PublishedMay 11, 2016
Source [http] https://github.com/mirage/alcotest/archive/0.4.11.tar.gz
5ded92bf3646ce37f81bc2c2bef9333e
StatisticsInstalled 7 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/alcotest/alcotest.0.4.11/opam

Alcotest is a lightweight and colourful test framework.

Alcotest exposes simple interface to perform unit tests. It exposes a simple TESTABLE module type, a check function to assert test predicates and a run function to perform a list of unit -> unit test callbacks.

Alcotest 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.