package ppx_expect

  1. Overview
  2. Docs
Cram like framework for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_expect-v0.12.0.tar.gz
sha256=d35195a7c56654d3ec6b82126bdbd8cbf39bdc0c5df20a598fc2fa44188aecfe
md5=139c7e7a32b9aba0a21e264ecbd470de

doc/ppx_expect.collector/Expect_test_collector/Make/argument-1-Config/index.html

Parameter Make.Config

module IO : sig ... end

IO monad

val flush : unit -> unit IO.t

Flush whatever need to be to get pending output out on file descriptor 0.

val run : (unit -> unit IO.t) -> unit

Run an IO operation until completion

val flushed : unit -> bool

Synchronous check that there is no pending output on file description 0. With async, there is no guarantee that on the rhs of a IO.bind (flush ()) ... the output is completely flushed, that's why we need this.

val upon_unreleasable_issue : Expect_test_config.Upon_unreleasable_issue.t

upon_unreleasable_issue specifies how to deal with output that should not be released even if it is accepted (e.g. backtraces). The default is `CR.

OCaml

Innovation. Community. Security.