package alcotest

All checked builds pass
  1. Overview
  2. Docs
Alcotest is a lightweight and colourful test framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-1.10.2.tbz
sha256=6e0da8828fbf6826de0b782dfe32c45f9fee7a44f1d6257c697d0cf92cfecd36
sha512=fadb58647cb046624e54a08da873e1abdf56fedc3f5f6c9d91a851e4f83a688e451ba087e8100976bfcbe8d6374dd2e6db718f175483e0a825e0acba7be3a3d1

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.