Bisect_ppx + ReScript starter repo
git clone https://github.com/aantron/bisect-starter-rescript.git
cd bisect-starter-rescript
npm install
rm -f *.coverage
BISECT_ENABLE=yes npm run build
npm run test
npx 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 ReScript instructions.