Bisect_ppx + Jest starter repo
git clone https://github.com/aantron/bisect-starter-jest.git
cd bisect-starter-jest
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.