package alcotest

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

Install

Dune Dependency

Authors

Maintainers

Sources

alcotest-js-1.5.0.tbz
sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c
sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45

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 (X : sig ... end) : sig ... end
OCaml

Innovation. Community. Security.