package ppx_inline_test

  1. Overview
  2. Docs
Syntax extension for writing in-line tests in ocaml code

Install

Dune Dependency

Authors

Maintainers

Sources

v0.9.2.tar.gz
sha256=fee108d69d12efab43c0100dc49e021d253957d6f352ed99af0b4149c75e12d0
md5=b1f06b6a27e7ee36f51e5b53d3655277

CHANGES.md.html

v0.9.2

  • per_file --> per_module in jbuild files

v0.9.1

  • Use cookies as well as command line options

v0.9.0

No changelog available

113.33.03

  • Changed the runtime API to make it easier to build test runners: replace the Runtime.Test_result.record system by Runtime.add_evaluator

113.33.00

  • Allow to configure hooks for inline tests by redefining a module Inline_test_config.

113.24.00

  • Expect-tests can now be written inline in libraries by using let%expect_test.

    The runtime library has been split into two components: the test runner, which collects the output of the test body, and registers enough information to construct the *.ml.corrected file from the input; and the test evaluator, which compares the test output against the expected output and generates the output files.

  • Update to follow Ppx_core evolution.

  • When an exception is raised inside a let%test_module, display the position and name of the TEST_MODULE, same as for the let%test.

  • Mark attributes as handled inside explicitly dropped pieces of code.

    So that a @@deriving inside a let%test dropped by ppx_inline_test_drop doesn't cause a failure.

OCaml

Innovation. Community. Security.