Module Ppx_expect_nobase_runtime.For_externalSource

Functions for other libraries to interact with expect tests.

Sourceval read_current_test_output_exn : here:Wrappers.Source_code_position.t -> 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 : unit -> bool
Sourceval default_cr_for_multiple_outputs : output_name:string -> outputs:string list -> string