package tezt

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezt-3.1.1.tar.bz2
md5=81f699e653ce9fd71e11d3704638c98d
sha512=30fd97f8b2c5e1282d89c1c5dee3530d4e10e8c3a95abd281e8ecb8b2ee3c367eacb8e663ef445af2fdb0aa2d697d39d6284950b1bda35761c6a3b59e3f264b6

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.