Bisect_ppx + Dune starter repo
  • OCaml 91.3%
  • Dune 8.7%
Find a file
2020-10-20 21:19:38 +03:00
.gitignore .gitignore: .out files are now .coverage files 2020-03-23 10:00:46 +03:00
.travis.yml Don't use dune exec for bisect-ppx-report 2020-10-20 21:19:38 +03:00
bisect-starter-dune.opam Use released Bisect_ppx 2.5.0 2020-10-20 20:57:04 +03:00
dune Use dune runtest 2020-10-20 21:06:55 +03:00
dune-project Use Bisect+Dune 2.7 integration 2020-10-10 09:23:14 +03:00
hello.ml Tweak sample code 2020-03-23 10:01:02 +03:00
README.md Don't use dune exec for bisect-ppx-report 2020-10-20 21:19:38 +03:00
tester.ml Rename twiddle.ml to hello.ml 2019-08-15 16:26:04 +03:00

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.