package ortac-runtime-qcheck-stm
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Runtime support library for Ortac/QCheck-STM-generated code
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.7.1.tar.gz
md5=de704f2acde11eb11a3a8f7155d1803c
sha512=060969ff333cd36d445a36ccbab4acf5269a4fae5720389e551fb90c303c09a25db23074b7b243634a507ded1e95a927f4a9af209b21924feda41a57140625b7
doc/ortac-runtime-qcheck-stm/Ortac_runtime_qcheck_stm/index.html
Module Ortac_runtime_qcheck_stmSource
include module type of Ortac_runtime
Source
type error = | Violated_axiom| Axiom_failure of {}| 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 {}| Uncaught_checks of {}| Unexpected_checks of {}
Source
type expected_result = | Value of STM.res(*The value has been computed
*)| Protected_value of STM.res(*The value has been computed but is protected as it could have been an exception
*)| Exception of string(*An exception is expected
*)| Out_of_domain(*The 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.
Information for the bug report in case of test failure
Source
val report :
string ->
string ->
expected_result ->
string ->
(string * location) list ->
reportreport module_name init_sut ret cmd terms
append a b appends the violated terms of a and b if any in the returned report
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>