Module Ppx_inline_testSource
How to expand tests if no "-inline-test-drop*" command line flag is passed.
Source
val validate_extension_point_exn :
name_of_ppx_rewriter:string ->
loc:Ppxlib.location ->
tags:string list ->
unitTo 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.
Source
val maybe_drop :
Ppxlib.Location.t ->
Ppxlib.Parsetree.expression ->
Ppxlib.Parsetree.structureSource
val if_am_test_runner :
Ppxlib.Location.t ->
Ppxlib.Parsetree.expression ->
Ppxlib.Parsetree.expressionSource
val guard_toplevel_test_effects :
Ppxlib.Location.t ->
Ppxlib.Parsetree.expression ->
Ppxlib.Parsetree.structureShould 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.