package alcotest

  1. Overview
  2. Docs

Module Cli.MakeSource

Parameters

Signature

Sourcetype return = unit M.t
Sourcetype speed_level = [
  1. | `Quick
  2. | `Slow
]
Sourcetype !'a test_case = string * speed_level * ('a -> return)
Sourceexception Test_error
Sourceval test_case : string -> speed_level -> ('a -> return) -> 'a test_case
Sourcetype !'a test = string * 'a test_case list
Sourceval list_tests : 'a test list -> return
Sourcetype !'a with_options = ?and_exit:bool -> ?verbose:bool -> ?compact:bool -> ?tail_errors:[ `Limit of int | `Unlimited ] -> ?quick_only:bool -> ?show_errors:bool -> ?json:bool -> ?filter:(Re.re option * int list option) -> ?log_dir:string -> ?bail:bool -> 'a
Sourceval run : (?argv:string array -> string -> unit test list -> return) with_options
Sourceval run_with_args : (?argv:string array -> string -> 'a Cmdliner.Term.t -> 'a test list -> return) with_options
OCaml

Innovation. Community. Security.