Skip to content
forked from mirage/alcotest

A lightweight and colourful test framework

Notifications You must be signed in to change notification settings

fdagnat/alcotest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A lightweight and colourful test framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • OCaml 100.0%