package bisect_ppx

  1. Overview
  2. Docs
Code coverage for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

1.2.0.tar.gz
sha256=bb19925803971dc8c9c1e668e358ff082bfaad3f32c59c0183009d4c1e26ff95
md5=e9dd15cb3d1e1e5ec7013bb960f3bdc3

Description

Bisect_ppx helps you test thoroughly. It is a small preprocessor that inserts instrumentation at places in your code, such as if-then-else and match expressions. After you run tests, Bisect_ppx gives a nice HTML report showing which places were visited and which were missed.

Usage is simple - add package bisect_ppx when building tests, then run the report tool on the generated visitation files.

This is an advanced fork of the original Bisect coverage tool. It has many improvements and updates.

  • Much more thorough code instrumentation, so you can find more gaps in your testing.
  • Fast operation by default.
  • More legible and appealing HTML reports.
  • Various bugfixes.
  • No camlp4 dependency.

Published: 10 Nov 2016

OCaml

Innovation. Community. Security.