package alcotest

  1. Overview
  2. Docs

Wraps Core to provide a command-line interface.

This module extends Core to allow CLI options to be passed to Alcotest executables. In particular:

  • tests can be selectively executed using the "test" subcommand;
  • the run_with_args function can be used to pass arguments to tests from the command line;
  • all of the regular options to Alcotest.run can be set via CLI flags.
module type S = sig ... end
module type MAKER = functor (P : Platform.MAKER) -> functor (M : Monad.S) -> S with type return = unit M.t
module Make (P : Platform.MAKER) (M : Monad.S) : S with type return = unit M.t