Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve failure message #202

Merged
merged 7 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unreleased

- Improve test-failure message
[\#202](https://github.com/ocaml-gospel/ortac/pull/202)
- Add a comment warning that the file is generated
[\#198](https://github.com/ocaml-gospel/ortac/pull/198)
- Add support for type invariants
Expand Down
18 changes: 18 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,24 @@
ortac-core
(ortac-qcheck-stm :with-test)))

(package
(name ortac-runtime-qcheck-stm)
(synopsis "Runtime support library for Ortac/QCheck-STM-generated code")
(description
"\> The ortac-runtime-qcheck-stm library provides support for the code
"\> generated by the Ortac/QCheck-STM plugin (provided by the
"\> ortac-qcheck-stm package).
"\>
"\> Ortac (OCaml Runtime Assertion Checking) is a tool to turn
"\> executable Gospel specifications into code to test they hold.
)
(authors "Nicolas Osborne <[email protected]>")
(maintainers "Nicolas Osborne <[email protected]>")
(depends
(ocaml (>= 4.11.0))
qcheck-stm
ortac-runtime))

(package
(name ortac-examples)
(synopsis
Expand Down
2 changes: 1 addition & 1 deletion examples/dune.lwt_dllist.inc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
qcheck-stm.stm
qcheck-stm.sequential
qcheck-multicoretests-util
ortac-runtime)
ortac-runtime-qcheck-stm)
(package ortac-examples)
(action
(run
Expand Down
2 changes: 1 addition & 1 deletion examples/dune.varray.inc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
qcheck-stm.stm
qcheck-stm.sequential
qcheck-multicoretests-util
ortac-runtime)
ortac-runtime-qcheck-stm)
(package ortac-examples)
(action
(run
Expand Down
2 changes: 1 addition & 1 deletion examples/dune.varray_circular.inc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
qcheck-stm.stm
qcheck-stm.sequential
qcheck-multicoretests-util
ortac-runtime)
ortac-runtime-qcheck-stm)
(package ortac-examples)
(action
(run
Expand Down
Loading
Loading