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.15.1.tar.gz
md5=91d1cf7489d35864381d9a435b46bb64
sha512=27dd4a4b9f0e8f7b22a7de4016ab0b8733e1ad4fe9e9e19cd98d321c071dd8662830a4e83579a2595d53b0a47c2ba03c1165df95312d6effc46c8aa13c0324b6

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.