Ppx_expect_runtime.Make_test_blockmodule C : Expect_test_config_types.Sval read_test_output_no_backtrace_check : Base.unit -> Base.stringRead test output, passing it through the configured sanitization function but not checking for backtraces. Equivalent to [%expect.output].
Consuming read.
val run_test : test_id:Ppx_expect_runtime_types.Expectation_id.t -> Base.unitGiven a test id:
Test_node.t with that idTest_node.tTest_node.tTest_block's fail ref to true (so that the test harness will be informed of a failure at the conclusion of this let%expect_test block)val run_test_without_commiting :
test_id:Ppx_expect_runtime_types.Expectation_id.t ->
Base.unitGiven a test id:
Test_node.t with that idTest_node.tUnlike run_test, run_test_without_commiting does not automatically record the test outcome or set the fail ref. Instead, user code must call exactly one of For_external.Expectation.commit or For_external.Expectation.skip below to commit or ignore the test result.
val run_suite :
filename_rel_to_project_root:Base.string ->
line_number:Base.int ->
location:Ppx_expect_runtime_types.Compact_loc.t ->
trailing_loc:Ppx_expect_runtime_types.Compact_loc.t ->
body_loc:Ppx_expect_runtime_types.Compact_loc.t ->
formatting_flexibility:
Ppx_expect_runtime_types.Expect_node_formatting.Flexibility.t ->
expected_exn:
(Ppx_expect_runtime_types.Payload.t
* Ppx_expect_runtime_types.Compact_loc.t)
Base.option ->
trailing_test_id:Ppx_expect_runtime_types.Expectation_id.t ->
exn_test_id:Ppx_expect_runtime_types.Expectation_id.t ->
description:Base.string Base.option ->
tags:Base.string Base.list ->
inline_test_config:Ppx_inline_test_lib.config ->
expectations:
(Ppx_expect_runtime_types.Expectation_id.t, Test_node.t) Base.List.Assoc.t ->
(Base.unit -> Base.unit C.IO.t) ->
Base.unitExecute a single let%expect_test block through Ppx_inline_test_lib.test.
Test_node.ts representing trailing output (expectation that there is none) and uncaught exception (expectation that there is none if expected_exn = None, or else that the test raises with expected_exn).Test_node.ts in expectations (those actually present in the test body), as well as the two implicit Test_node.ts described above, into the global table of Test_node.ts.Test_node.t.