package alcotest

  1. Overview
  2. Docs

Module Alcotest_engine.CliSource

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.
Sourcemodule type S = sig ... end
Sourcemodule type MAKER = functor (P : Platform.MAKER) -> functor (M : Monad.S) -> S with type return = unit M.t
Sourcemodule Make (P : Platform.MAKER) (M : Monad.S) : S with type return = unit M.t
OCaml

Innovation. Community. Security.