package ppx_inline_test_nobase

  1. Overview
  2. Docs
Syntax extension for writing in-line tests in ocaml code (with stripped dependencies)

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17+nobase.tar.gz
sha256=325d06a56355e2ad500bf1fb3ddbae8aabb9e9d00713a453bd3da7235bf0ed36

doc/ppx_inline_test_nobase.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.