Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A lightweight and colourful test framework
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
CHANGES
Makefile
README.md
_oasis
_tags
configure
myocamlbuild.ml
setup.ml

README.md

Alcotest

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

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

Something went wrong with that request. Please try again.