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.16.0-3.fc39 | - |
Fedora 39 | 0.16.0-3.fc39 | - |
Fedora 38 | 0.15.1-3.fc38 | - |
Fedora 37 | 0.15.0-7.fc37 | - |
You can contact the maintainers of this package via email at
ocaml-ppx-expect dash maintainers at fedoraproject dot org
.