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.1.tar.gz
md5=38196081de2fab8321b71addbe769b73
sha512=e5c2dc8e519bbdadb5b1472ee5c5d08c547395e46c294962f1ac830461bb2d30d16894395ba95866713a099ef3565d83e67dda48d6ed26b55ad7cb36a8f7f6aa

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.