package ppx_inline_test
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=575bc3a518a7797e1ffb721c68b0524c133a52f9f05208b3f612ee63ffeb3f0c
md5=1f2e014332373638696d8893d87f4682
CHANGES.md.html
v0.11
Depend on ppxlib instead of (now deprecated) ppx_core, ppx_driver and ppx_metaquot.
113.33.03
Changed the runtime API to make it easier to build test runners: replace the
Runtime.Test_result.record
system byRuntime.add_evaluator
Tell the build system via output metadata whether a file contains tests or not
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 thelet%test
.Mark attributes as handled inside explicitly dropped pieces of code.
So that a
@@deriving
inside a let%test dropped byppx_inline_test_drop
doesn't cause a failure.