Library
Module
Module type
Parameter
Class
Class type
val error :
?message:string ->
typ:string ->
name:string ->
classname:string ->
time:float ->
string ->
t
error ?message ~typ ~name ~classname ~time description
creates an error element.
Indicates that the test errored. An errored test is one that had an unanticipated problem. e.g., an unchecked throwable; or a problem with the implementation of the test. Contains as a text node relevant data for the error, e.g., a stack trace.
val failure :
?message:string ->
typ:string ->
name:string ->
classname:string ->
time:float ->
string ->
t
failure ?message ~typ ~name ~classname ~time description
creates a failure element.
Indicates that the test failed. A failure is a test which the code has explicitly failed by using the mechanisms for that purpose. e.g., via an assertEquals. Contains as a text node relevant data for the failure, e.g., a stack trace.
val skipped : name:string -> classname:string -> time:float -> t
skipped ~name ~classname ~time
creates a skipped element.
Indicates that the test has not been launched.
val pass : name:string -> classname:string -> time:float -> t
pass ~name ~classname ~time
creates a pass element.
Indicates that the test is a success.