jon.recoil.org

Module Ppx_inline_testSource

Sourcetype maybe_drop =
  1. | Keep
  2. | Drop_with_deadcode
  3. | Drop
Sourceval set_default_maybe_drop : Ppx_inline_test.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.

Should be put around top-level effects that are used for testing only, but shouldn't be run otherwise. This tends to occur in ppx headers and footers.