bisect_ppx

AuthorsXavier Clerc <bisect@x9c.fr>, Leonid Rozenberg <leonidr@gmail.com> and Anton Bachin <antonbachin@yahoo.com>
LicenseMPL2
Homepagehttps://github.com/aantron/bisect_ppx
Issue Trackerhttps://github.com/aantron/bisect_ppx/issues
MaintainersAnton Bachin <antonbachin@yahoo.com> and Leonid Rozenberg <leonidr@gmail.com>
Dependencies
&base-unix
jbuilder>= 1.0+beta13
ocaml-migrate-parsetree>= 1.0.3
ocamlfind
ounit
ppx_tools_versioned
Availableocaml-version >= "4.02.0"
PublishedJul 24, 2018
Source [http] https://github.com/aantron/bisect_ppx/archive/1.3.4.tar.gz
7371bd9a98c43b952bfa1ae2d374af3d
StatisticsInstalled 494 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/bisect_ppx/bisect_ppx.1.3.4/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.