package tezt

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezt-4.0.0.tar.bz2
md5=643f48378265ae18b7aab4675a1e836e
sha512=f399d4d8b935fc3dcb4354596c2b7fa26a019f99c83cb4c1d48b0e26c5bc6da13b2cad9792dd50420a88b777d3b8a1d67c7ddd0457322e65d311b859be03879f

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.