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
ocamlbuild
ounit
ppx_tools_versioned
Availableocaml-version >= "4.02.0"
PublishedOct 5, 2017
Source [http] https://github.com/aantron/bisect_ppx/archive/1.3.1.tar.gz
9b76f6f192307ec7098ded5e36670df2
StatisticsInstalled 776 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/bisect_ppx/bisect_ppx.1.3.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.