Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A lightweight and colourful test framework
OCaml
branch: master
Failed to load latest commit information.
lib Bump version
CHANGES Update CHANGES
Makefile Bump version number
README.md fix typos
_oasis Bump version
_tags Bump version number
configure Bump version to 0.2.0
myocamlbuild.ml Bump version number
opam Add opam file
setup.ml Bump version

README.md

Alcotest

Alcotest is a lightweight and colourful test framework, based on OUnit.

Alcotest exposes a much more restricted interface than OUnit, as you can only pass to Alcotest.run a tree of callbacks 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 generators).

This limitation enables Alcotest to provide 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.

Something went wrong with that request. Please try again.