Ortac_runtime_qcheck_stm_util.Reporttype expected_result = | Value of STM.resThe value has been computed
*)| Protected_value of STM.resThe value has been computed but is protected as it could have been an exception
*)| Exception of stringAn exception is expected
*)| Out_of_domainThe computation of the expected returned value called a Gospel function out of its domain
*)This type carries the expected value computed from the Gospel specification if possible.
type t = {mod_name : string;The name of the module under test
*)init_sut : string;String representation of the init_sut function
*)exp_res : expected_result;The expected result of the call
*)cmd : string;String representation of the call
*)terms : (string * Ortac_runtime.location) list;String representation and location of the violated specifications
*)}Information for the bug report in case of test failure
val report :
string ->
string ->
expected_result ->
string ->
(string * Ortac_runtime.location) list ->
treport module_name init_sut exp_res cmd terms
append a b appends the violated terms of a and b if any in the returned report
val pp_expected_result : expected_result Fmt.tval pp_terms : (string * Ortac_runtime.location) list Fmt.tval pp_traces : bool -> expected_result -> trace list Fmt.t