package alcotest

  1. Overview
  2. Docs
Alcotest is a lightweight and colourful test framework

Install

Dune Dependency

Authors

Maintainers

Sources

alcotest-1.8.0.tbz
sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e
sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d

doc/alcotest.engine/Alcotest_engine/Private/Pp/index.html

Module Private.PpSource

Sourceval tag : [ `Ok | `Fail | `Skip | `Todo | `Assert ] Fmt.t
Sourceval map_theta : (Format.formatter -> unit) -> f:(unit Fmt.t -> unit Fmt.t) -> Format.formatter -> unit
Sourceval pp_plural : int Fmt.t

This is for adding an 's' to words that should be pluralized, e.g.

  let n = List.length items in
  Fmt.pr "Found %i item%a." n pp_plural n
Sourcemodule Make (_ : sig ... end) : sig ... end
OCaml

Innovation. Community. Security.