package ppx_expect
Cram like framework for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_expect-v0.13.0.tar.gz
sha256=16a7db57df155d48ef0b29ded01bbe724afd0b796501b56759ebc828da8db842
md5=e9d928f6aed89da85a511ea3d8d57f58
doc/ppx_expect.config/Expect_test_config/index.html
Module Expect_test_config
Configuration for running expect tests
To configure expect_test, add the following at the top of your .ml file, or in some import.ml:
module Expect_test_config = struct
include Expect_test_config
let pre_redirect_hook () = ...
end
Note that since all expect test are also inline tests, the inline test configuration also applies to all expect test.
module Upon_unreleasable_issue : sig ... end
module type S = sig ... end
include S with type 'a IO_flush.t = 'a with type 'a IO_run.t = 'a
module IO_run : sig ... end
module IO_flush : sig ... end
val flush : unit -> unit IO_flush.t
Flush whatever need to be to get pending output out on file descriptor 0.
val run : (unit -> unit IO_run.t) -> unit
Run an IO operation until completion
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 : 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
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>