package ppx_expect

  1. Overview
  2. Docs
Cram like framework for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.2.tar.gz
md5=055c8c86665d158e0b03494a3e188f1c
sha512=c6394522da7f1e03df5d2f62766aa8534c09a12efff7908cc1215b06959e6eeaa2cb85514cd5def1582db66455ed922024387f28b84b4412aed4879ea905c38a

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.