Syntax extension for writing in-line tests in ocaml code
Browse cluster: OCaml incremental computation and PPX tooling →ppx_inline_test is a syntax extension for the OCaml programming language that enables developers to write inline tests directly within their code using special syntactic constructs like `let%test`, `let%test_unit`, and `module%test`. The extension supports flexible test organization through named and anonymous tests, test grouping in modules, and a tagging system to control which tests run in different environments (such as JavaScript, 32-bit or 64-bit architectures, or with specific compiler optimizations). Tests can be built and executed using either Dune or manual compilation with the `ppx_inline_test.runtime-lib` and `ppx_inline_test.runner.lib` libraries, with options for filtering tests by location or tag, running them verbosely, and parallelizing execution across source files.