Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val event :
isatty:bool ->
compact:bool ->
max_label:int ->
doc_of_test_name:(Alcotest_engine__.Model.Test_name.t -> string) ->
selector_on_failure:bool ->
tests_so_far:int ->
event Fmt.t
val suite_results :
verbose:bool ->
show_errors:bool ->
json:bool ->
compact:bool ->
log_dir:string ->
result Fmt.t
Wraps a formatter with a Unicode box with width given by terminal_width
. Uses box-drawing characters from code page 437.
Horizontal rule of length terminal_width
. Uses box-drawing characters from code page 437.
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