Bisect_ppx + Js_of_ocaml starter repo
  • OCaml 92.9%
  • Dune 7.1%
Find a file
2020-10-21 08:44:46 +03:00
.gitignore .gitignore: .out files are now .coverage files 2020-03-23 10:10:29 +03:00
.travis.yml Use Dune+Bisect integration 2020-10-21 08:44:46 +03:00
bisect-starter-jsoo.opam Use Dune+Bisect integration 2020-10-21 08:44:46 +03:00
dune Use Dune+Bisect integration 2020-10-21 08:44:46 +03:00
dune-project Use Dune+Bisect integration 2020-10-21 08:44:46 +03:00
hello.ml Tweak sample code 2020-03-23 10:10:56 +03:00
README.md Use Dune+Bisect integration 2020-10-21 08:44:46 +03:00
tester.ml Initial commit 2019-08-15 16:46:54 +03:00

Bisect_ppx + Js_of_ocaml starter repo

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

BISECT_ENABLE=yes dune build ./tester.bc.js
node _build/default/tester.bc.js
dune exec 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 Js_of_ocaml instructions.