package ppx_expect

  1. Overview
  2. Docs
Cram like framework for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.16.1.tar.gz
md5=f2db0b9091a532f2f67a2bf0b8d8b268
sha512=b24df7db91ef0d72f3bf753b526b7a21c8fd06c8814367f4f06e2356bace7353891207dd5f4ccaa60542000fb2c6a179b38ffd9908803274c169e3b95a754ece

doc/ppx_expect.collector/Expect_test_collector/Make/index.html

Module Expect_test_collector.MakeSource

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.

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

Run an expect-test

OCaml

Innovation. Community. Security.