package alcotest

  1. Overview
  2. Docs

Source file platform.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module type S = sig
  val time : unit -> float

  val getcwd : unit -> string

  val prepare : base:string -> dir:string -> name:string -> unit

  type 'a promise

  val with_redirect : string -> (unit -> 'a promise) -> 'a promise

  val setup_std_outputs :
    ?style_renderer:Fmt.style_renderer -> ?utf_8:bool -> unit -> unit

  val home_directory : unit -> (string, [ `Msg of string ]) result
end

module type MAKER = functor (M : Monad.S) -> S with type 'a promise := 'a M.t
OCaml

Innovation. Community. Security.