package alcotest

  1. Overview
  2. Docs
Alcotest is a lightweight and colourful test framework

Install

Dune Dependency

Authors

Maintainers

Sources

alcotest-1.8.0.tbz
sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e
sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d

doc/alcotest.engine/Alcotest_engine/V1/index.html

Module Alcotest_engine.V1Source

Version 1 of the user-facing Alcotest API.

Assert functions

Sourcemodule Test : sig ... end

Monadic test runners

These modules provide the ability to run tests inside a concurrency monad: that is, to sequence test cases of type 'a -> unit m into a computation of type 'a -> unit m (for some concurrency monad m) with can then be scheduled in a main event loop. For tests using Lwt.t or Async_kernel.Deferred.t, use the Alcotest_lwt and Alcotest_async packages directly.

Sourcemodule Core : sig ... end

Defines monadic test runners without command-line interfaces.

Sourcemodule Cli : sig ... end

Wraps Core to provide a command-line interface.

OCaml

Innovation. Community. Security.