package ppx_inline_test_nobase

  1. Overview
  2. Docs
Syntax extension for writing in-line tests in ocaml code (with stripped dependencies)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.17.0.3.tar.gz
sha256=9a4ec14d7b62edf71bfb4be25146b930d240d3caaab34eb186c6113dbc9b4b5a

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