package ppx_expect

  1. Overview
  2. Docs
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.collector/Expect_test_collector/Make/index.html

Module Expect_test_collector.Make

Parameters

Signature

Collect the output that has been run since the last call to save_output, or since the current expect-test started running.

This function should only be called while a test is running. It is meant to be called as a result of ppx_expect translating an expect-test, and is not intended to be called manually.

val save_and_return_output : Expect_test_common.Std.File.Location.t -> string Config.IO_flush.t
val run : file_digest:Expect_test_common.Std.File.Digest.t -> location:Expect_test_common.Std.File.Location.t -> absolute_filename:string -> description:string option -> tags:string list -> expectations:Expect_test_common.Std.Expectation.Raw.t list -> uncaught_exn_expectation:Expect_test_common.Std.Expectation.Raw.t option -> inline_test_config:Ppx_inline_test_lib.Runtime.config -> (unit -> unit Config.IO_run.t) -> unit

Run an expect-test

OCaml

Innovation. Community. Security.