Source Package: ocaml-ppx-expect (0.17.3-2.fc43)
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.
Package information
- Homepage
- [https://github.com/janestreet/ppx_expect]
- License
- MIT
- Downstream-Paketbetreuer
- jjamesObserved Nov 24, 2026 [source]
The following binary packages are built from this source package:
- ocaml-ppx-expect
Framework for writing tests in OCaml
- ocaml-ppx-expect-devel
Development files for ocaml-ppx-expect
