You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bisect_ppx is a code coverage tool for OCaml. It helps you test
thoroughly by showing which parts of your code are not tested. You can also
use it for tracing: run one test, and see what is visited.
You can submit a coverage report to Coveralls.io using ocveralls.
Note that Bisect_ppx reports are more precise than Coveralls, which only
considers whole lines as visited or not.
Bisect_ppx is an advanced fork of the excellent Bisect by Xavier
Clerc. As of the time of this writing, it appears that the original Bisect is
no longer maintained.
Considerable work has been done on Bisect_ppx, so that it is now a distinct
project. In terms of the interface, Bisect_ppx is still largely compatible with
Bisect's ppx mode, but see here for a list of differences.
If you use Camlp4, you will want to use the original Bisect.
License
Bisect_ppx is distributed under the terms of the
GPL license, version 3. Note, however, that Bisect_ppx does not
"contaminate" your project with the terms of the GPL, because it is a
development tool used only during testing. You would not want to link Bisect_ppx
into your release files anyway, for performance reasons.
Contributing
Bug reports and pull requests are warmly welcome. Bisect_ppx is developed on
GitHub, so please open an issue.
To get the latest development version of Bisect_ppx using OPAM, run
opam source --dev-repo --pin bisect_ppx
You will now have a bisect_ppx subdirectory to work in.