package tezt

  1. Overview
  2. Docs
Test framework for unit tests, integration tests, and regression tests

Install

Dune Dependency

Authors

Maintainers

Sources

tezt-3.0.0.tar.bz2
md5=362773eb411d8a62fd3c6ec25c5a1f0e
sha512=c56c705b28f4399223576563f4ca0168c818adc57d9f0710cd1eaa5185fc26cf321de5f6f3ede7125ce5f5922c5e0456d3044c23acc6fa12b466fe23ca9d48a7

doc/tezt.core/Tezt_core/Process_hooks/index.html

Module Tezt_core.Process_hooksSource

Process hooks.

Hooks are typically used for regression tests.

Sourcetype t = {
  1. on_log : string -> unit;
    (*

    A hook that is called with every line that is being logged.

    *)
  2. on_spawn : string -> string list -> unit;
    (*

    A hook that is called whenever a process is being spawned. The first parameter is the command and the second are its arguments.

    *)
}

Hooks attached to external processes.

OCaml

Innovation. Community. Security.