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.0.tar.bz2
md5=d395cb9e663635ea8795f47c9bd9249f
sha512=d7c62899684ec202a98669eb575a2dc3bd1f8cf0430447c789a9d0aadc04a611d0dcfbcd7d61c613d4b7c78fd1bc4c533e4fcb48dbc8e3f19feaabe4ddd78723

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.