package ppx_inline_test

  1. Overview
  2. Docs
Syntax extension for writing in-line tests in ocaml code

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_inline_test-v0.15.0.tar.gz
sha256=3f78d141abc4a8e2ff69354299f8b2215ad33aa79a36a7f7fb82635e4ea1871b

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.