package alcotest

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-1.9.1.tbz
sha256=1e29c3b41d4329062105b723dfda3aff86b8cef5e7c7500d0e491fc5fd78e482
sha512=c49d402fa636dcf11f81917610dd1d2eca8606c8919aede4db23710d071f6046a8f93c78de9fbfee26637a53ca67f71fad500bfa2478b7f0f059608a492dd0a5

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