package ppx_expect

  1. Overview
  2. Docs
Cram like framework for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.3.tar.gz
md5=a7daa59114638fd80f52b6adbb0db7ed
sha512=d26364f2c7c0a3d83e5ecc144f77875a00887853c72c03e0122d658acb4d1cb4c6d77fabc1222d775663db74f0345be2a33518dffac9feef57ece5e9e40dc709

doc/ppx_expect.runtime/Ppx_expect_runtime/For_external/index.html

Module Ppx_expect_runtime.For_externalSource

Functions for other libraries to interact with expect tests.

Sourceval read_current_test_output_exn : here:Base.Source_code_position.t -> Base.string

If there is an expect test running, perform a consuming read of the current output and return it without any sanitization or backtrace-checking. Note that this is different from the behavior of [%expect.output], which does perform sanitization.

If there is no test running, raise an error that includes here.

Sourceval am_running_expect_test : Base.unit -> Base.bool
Sourceval default_cr_for_multiple_outputs : output_name:Base.string -> outputs:Base.string Base.list -> Base.string
OCaml

Innovation. Community. Security.