package ppx_inline_test

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_inline_test-v0.15.0.tar.gz
sha256=3f78d141abc4a8e2ff69354299f8b2215ad33aa79a36a7f7fb82635e4ea1871b

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.