package tezt

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezt-4.2.0.tar.bz2
md5=7878acd788ae59f1a07d0392644f0fff
sha512=b9e8ce2576b0bc65870409380edf17b88656a985ceb9a438a84f479b51d6b30740acf7b035eccf7d122bf5227611bf15e888e607dcdbb1576b4383f12314dd49

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.