Skip to content

Commit

Permalink
Update coverage documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Feb 22, 2024
1 parent b7f2a0a commit abcbe8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/developer-guide/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ To run `bisect_ppx` locally:

1. Install bisect_ppx with `opam install bisect_ppx`.
2. Run `make coverage` to build Goblint with bisect_ppx instrumentation.
3. Run tests (this will now generate `.coverage` files in various directories).
4. Generate coverage report with `bisect-ppx-report html --coverage-path=.`.
3. Run tests with coverage: `dune runtest --instrument-with bisect_ppx` (this will now generate `.coverage` files in various directories).
4. Generate coverage report with `bisect-ppx-report html`.
5. After that the generated `.coverage` files can be removed with `find . -type f -name '*.coverage' -delete`.
6. The HTML report can be found in the `_coverage` folder.

0 comments on commit abcbe8d

Please sign in to comment.