package omtl

  1. Overview
  2. Docs

Module OmtlSource

Sourcetype test_suit = string * test_case list
Sourceand test_case = string * (unit -> unit)
Sourcemodule Test_Result : sig ... end
Sourceval (+:>) : string -> (string * (unit -> unit)) list -> string * (string * (unit -> unit)) list

Assist in building test sets and individual test items to improve the readability of test code

Sourceval (>==) : string -> (unit -> unit) -> string * (unit -> unit)
Sourceval fail : string -> 'a

Wrapper function to failwith

Sourcemodule type Info_Impl = sig ... end
Sourcemodule type Info_API = sig ... end
Sourcemodule Info_Generator (M : sig ... end) : sig ... end
Sourcemodule Backtrace : sig ... end
Sourcemodule CallStack : sig ... end
Sourcemodule Color : sig ... end
Sourceval test : ?backtrace:bool -> ?callstack:bool -> ?color:bool -> (unit -> unit) -> Test_Result.t
Sourceval test_case : ?backtrace:bool -> ?callstack:bool -> ?color:bool -> test_case -> string
Sourceval test_suit : ?backtrace:bool -> ?callstack:bool -> ?color:bool -> test_suit -> unit
Sourceval run : ?backtrace:bool -> ?callstack:bool -> ?color:bool -> test_suit -> unit