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.14.1.tar.gz
sha256=d7e5c1b92e5ae1e9076979852c80cb192af443ff90e2fb11b5561df032aafb63
md5=132754f0757188c3b700a2c5b6a2fb3f

doc/ppx_inline_test.config/Inline_test_config/index.html

Module Inline_test_config

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
module type S = sig ... end
include S
val pre_test_hook : unit -> unit

Run this function at the beginning of any test

OCaml

Innovation. Community. Security.