Home

Awesome

Bisect_ppx + Dune starter repo

git clone https://github.com/aantron/bisect-starter-dune.git
cd bisect-starter-dune
opam install -y --deps-only .

find . -name '*.coverage' | xargs rm -f
dune runtest --instrument-with bisect_ppx --force
bisect-ppx-report html

These commands generate this coverage report locally in the _coverage/ directory. Use your browser to open _coverage/index.html!

Here is an example of a coverage report for a real-world project.

See aantron/bisect_ppx, especially the Dune instructions.