Module Ortac_runtime_qcheck_stm
include module type of struct include Ortac_runtime end
type error = Ortac_runtime.error =
| Violated_axiom
| Axiom_failure of {
exn : exn;
}
| Violated_invariant of {
term : string;
position : term_kind;
}
| Violated_condition of {
term : string;
term_kind : term_kind;
}
| Specification_failure of {
term : string;
term_kind : term_kind;
exn : exn;
}
| Unexpected_exception of {
allowed_exn : string list;
exn : exn;
}
| Uncaught_checks of {
term : string;
}
| Unexpected_checks of {
terms : string list;
}
val pp_loc : Stdlib.Format.formatter -> location -> unit
val pp_error_report : Stdlib.Format.formatter -> error_report -> unit
exception Partial_function of exn * location
val string_of_integer : integer -> string
type expected_result =
| Value of STM.res
| Protected_value of STM.res
| Exception of string
type report = {
mod_name : string;
init_sut : string;
ret : expected_result;
cmd : string;
terms : (string * location) list;
}
type STM.ty +=
| Dummy : 'a STM.ty
val dummy : 'a STM.ty * ('b -> string)
val is_dummy : STM.res -> bool
module Model : sig ... end
module Make (Spec : STM.Spec) : sig ... end