File: inline_test_config.mli

package info (click to toggle)
ppx-inline-test 0.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 364 kB
  • sloc: ml: 1,367; makefile: 15; javascript: 3; ansic: 2; sh: 2
file content (19 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(** 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
    ]}
*)

module type S = sig
  (** Run this function at the beginning of any test *)
  val pre_test_hook : unit -> unit
end

include S