package alcotest

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

Install

Dune Dependency

Authors

Maintainers

Sources

alcotest-1.7.0.tbz
sha256=812bacdb34b45e88995e07d7306bdab2f72479ef1996637f1d5d1f41667902df
sha512=4ae1ba318949ec9db8b87bc8072632a02f0e4003a95ab21e474f5c34c3b5bde867b0194a2d0ea7d9fc4580c70a30ca39287d33a8c134acc7611902f79c7b7ce8

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.