package hegel

  1. Overview
  2. Docs
Hegel property-based testing library for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

hegel-0.8.0-opam.tar.gz
md5=d9ec174b148ddf3a1b9b3173280adea9
sha512=d17f865aaffd61f2a07c45816e09e11443f770fc78977830fa42e134c0588062ede5cb0e9dac8e06f21b575a0b624c4e312a07e3879306abb6fbbcdc9026ebce

doc/hegel.test_runtime/Hegel_test_runtime/index.html

Module Hegel_test_runtimeSource

Internal — runtime registry and runner for the let%hegel_test PPX. Not part of the public API.

The ppx_hegel_test PPX emits a registration call for every let%hegel_test definition. When a library opts in to the dune (inline_tests (backend ppx_hegel_test)) stanza, dune synthesises an executable whose entry point calls test_main, which iterates the registry, runs each test, prints pass/fail status, and exits non-zero if any test failed.