bisect_ppx

AuthorsXavier Clerc <bisect@x9c.fr>, Leonid Rozenberg <leonidr@gmail.com> and Anton Bachin <antonbachin@yahoo.com>
LicenseGPL3
Homepagehttps://github.com/aantron/bisect_ppx
Issue Trackerhttps://github.com/aantron/bisect_ppx/issues
MaintainerAnton Bachin <antonbachin@yahoo.com>
Dependencies
&cppo
ocamlbuild
ocamlfind
ounit
ppx_tools>= 4.02.3
Availableocaml-version >= "4.02.0"
PublishedNov 9, 2016
Source [http] https://github.com/aantron/bisect_ppx/archive/1.2.0.tar.gz
e9dd15cb3d1e1e5ec7013bb960f3bdc3
StatisticsInstalled 390 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/bisect_ppx/bisect_ppx.1.2.0/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.