Library
Module
Module type
Parameter
Class
Class type
val error :
?message:string ->
typ:string ->
name:string ->
classname:string ->
time:float ->
string ->
t
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
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
Creates a skipped element.
Indicates that the test has not been launched.
val pass : name:string -> classname:string -> time:float -> t
Creates a pass element.
Indicates that the test is a success.