bisect_ppx

AuthorsXavier Clerc <bisect@x9c.fr>, Leonid Rozenberg <leonidr@gmail.com> and Anton Bachin <antonbachin@yahoo.com>
LicenseGPL3
Homepagehttps://github.com/rleonid/bisect_ppx
Issue Trackerhttps://github.com/rleonid/bisect_ppx/issues
MaintainerLeonid Rozenberg <leonidr@gmail.com>
Dependencies
&ocamlbuild
ocamlfind
ounit
ppx_tools
Availableocaml-version >= "4.02.0" & ocaml-version < "4.03"
PublishedMar 4, 2016
Source [http] https://github.com/rleonid/bisect_ppx/archive/1.0.1.tar.gz
9c320ad23d919972a64fd24e7b4642f1
StatisticsInstalled once last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/bisect_ppx/bisect_ppx.1.0.1/opam

Code coverage for OCaml

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.