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.16.0.tar.gz
sha256=216462f8fe988587d1e90f4a10aeb38664facb6eaeb3df60a32e9fb1a6bfbc67

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.