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/Test_node/Create/index.html

Module Test_node.CreateSource

Functions for creating ts corresponding to each of the test nodes that can be parsed out of extension points in a let%expect_test.

Each of these creators accepts the location of the entire AST node associated with the e.g. [%expect] test.

Sourceval expect : formatting_flexibility: Ppx_expect_runtime__.Types.Expect_node_formatting.Flexibility.t -> node_loc:Ppx_expect_runtime__.Types.Compact_loc.t -> located_payload: (Ppx_expect_runtime__.Output.Payload.t * Ppx_expect_runtime__.Types.Compact_loc.t) Base.option -> Test_node.t

[%expect _]

Sourceval expect_exact : formatting_flexibility: Ppx_expect_runtime__.Types.Expect_node_formatting.Flexibility.t -> node_loc:Ppx_expect_runtime__.Types.Compact_loc.t -> located_payload: (Ppx_expect_runtime__.Output.Payload.t * Ppx_expect_runtime__.Types.Compact_loc.t) Base.option -> Test_node.t

[%expect_exact _]

Sourceval expect_unreachable : node_loc:Ppx_expect_runtime__.Types.Compact_loc.t -> Test_node.t

[%expect.unreachable]

OCaml

Innovation. Community. Security.