-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add code coverage reporting #74
base: main
Are you sure you want to change the base?
Conversation
I tried compiling a simple hello world OCaml program via |
Following some of the tips described in SimonKagstrom/kcov#242 (comment) what seems to be happening is that dune sandboxing is causing the paths to not be found by kcov, which is why things work with manual compilation with |
Closes #2.
Generated code coverage: https://mt-caret.github.io/polars-ocaml-kcov/kcov-merged/index.html
Taking a quick look at the coverage information, it's already quite useful. For example, I didn't realize that we don't really execute the
Then
andChainedThen
clauses inrust_expr_when_then
; probably worth adding a doctest.