alcotest

Author Thomas Gazagnaire
License ISC
Homepage https://github.com/mirage/alcotest/
Issue Tracker https://github.com/mirage/alcotest/issues/
Maintainer thomas@gazagnaire.org
Dependencies
& astring
cmdliner
fmt
oasis
ocamlbuild
ocamlfind
result
Available ocaml-version >= "4.01.0" & ocaml-version < "4.03"
Published Apr 25, 2016
Source [http] http://github.com/mirage/alcotest/archive/0.4.9.tar.gz
8ef143547a50e6d3571b2ade3c1693c0
Statistics Installed 18 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/alcotest/alcotest.0.4.9/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.