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.0.tar.gz
sha256=b71e4f01ab8aed418a3358688241a94b6d16d723deec7caaf5e4e917c2a76d2c

doc/ppx_inline_test.config/Inline_test_config/index.html

Module Inline_test_configSource

Configuration for running inline tests

To configure inline_test, add the following at the top of your .ml file, or in some import.ml:

  module Inline_test_config = struct
    include Inline_test_config
    let pre_test_hook () = ...
  end
Sourcemodule type S = sig ... end
include S
Sourceval pre_test_hook : unit -> unit

Run this function at the beginning of any test

OCaml

Innovation. Community. Security.