Framework for writing tests in OCaml
Ppx_expect is a framework for writing tests in OCaml, similar to Cram (https://bitheap.org/cram/). Ppx_expect mimics the existing inline tests framework with the `let%expect_test` construct. The body of an expect-test can contain output-generating code, interleaved with `%expect` extension expressions to denote the expected output. When run, these tests will pass iff the output matches what was expected. If a test fails, a corrected file with the suffix ".corrected" will be produced with the actual output, and the `inline_tests_runner` will output a diff.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0.17.0-3.fc41 | - |
Fedora 41 | 0.17.0-3.fc41 | - |
Fedora 40 | 0.16.0-9.fc40 | - |
Fedora 39 | 0.16.0-3.fc39 | - |
You can contact the maintainers of this package via email at
ocaml-ppx-expect dash maintainers at fedoraproject dot org
.