package ppx_inline_test

  1. Overview
  2. Docs
Syntax extension for writing in-line tests in ocaml code

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.1.tar.gz
md5=38196081de2fab8321b71addbe769b73
sha512=e5c2dc8e519bbdadb5b1472ee5c5d08c547395e46c294962f1ac830461bb2d30d16894395ba95866713a099ef3565d83e67dda48d6ed26b55ad7cb36a8f7f6aa

doc/ppx_inline_test/Ppx_inline_test/index.html

Module Ppx_inline_testSource

Sourcetype maybe_drop =
  1. | Keep
  2. | Drop_with_deadcode
  3. | Drop
Sourceval set_default_maybe_drop : maybe_drop -> unit

How to expand tests if no "-inline-test-drop*" command line flag is passed.

Sourceval validate_extension_point_exn : name_of_ppx_rewriter:string -> loc:Ppxlib.location -> tags:string list -> unit

To be called on test extension points that use the ppx_inline_test runtime. Checks that tests are allowed with the given ppx command line, and that the tags are defined.

Sourceval maybe_drop : Ppxlib.Location.t -> Ppxlib.Parsetree.expression -> Ppxlib.Parsetree.structure
OCaml

Innovation. Community. Security.