package alcotest-mirage

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module C : Mirage_clock.MCLOCK

Signature

include Alcotest_engine.Cli.S with type return = unit Lwt.t
type return = unit Lwt.t
type speed_level = [
  1. | `Quick
  2. | `Slow
]
type !'a test_case = string * speed_level * ('a -> return)
exception Test_error
type !'a test = string * 'a test_case list
val list_tests : 'a test list -> return
type !'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 * Alcotest_engine__Core.IntSet.t option) -> ?log_dir:string -> 'a
val run : (?argv:string array -> string -> unit test list -> return) with_options
val run_with_args : (?argv:string array -> string -> 'a Cmdliner.Term.t -> 'a test list -> return) with_options
val test_case : string -> speed_level -> (Lwt_switch.t -> 'a -> unit Lwt.t) -> 'a test_case
val test_case_sync : string -> speed_level -> ('a -> unit) -> 'a test_case
OCaml

Innovation. Community. Security.