Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val info :
max_label:int ->
doc_of_test_name:(Alcotest_engine__.Model.Test_name.t -> string) ->
Alcotest_engine__.Model.Test_name.t Fmt.t
val tag : [ `Ok | `Fail | `Skip | `Todo | `Assert ] Fmt.t
val event_line :
max_label:int ->
doc_of_test_name:(Alcotest_engine__.Model.Test_name.t -> string) ->
[ `Result of
Alcotest_engine__.Model.Test_name.t
* [< Alcotest_engine__.Model.Run_result.t ]
| `Start of Alcotest_engine__.Model.Test_name.t ]
Fmt.t
Wraps a formatter with a Unicode box with width given by terminal_width
. Uses box-drawing characters from code page 437.
val horizontal_rule : _ Fmt.t
Horizontal rule of length terminal_width
. Uses box-drawing characters from code page 437.
val 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