package ppx_expect

  1. Overview
  2. Docs
Cram like framework for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.1.tar.gz
md5=bc426d44bd413aa231e484c7c3378185
sha512=036b039cf069b2a283135bdb1d7643719bec2eaca59debd0b20d7b87742d4404c0db2259ef46ad7ecc77520f3272b02e2af5f83a740fdb0fc0d0479dfe3af9bb

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.