Code coverage for OCaml
Bisect_ppx helps you test thoroughly. It is a small preprocessor that inserts instrumentation at places in your code, such as if-then-else and match expressions. After you run tests, Bisect_ppx gives a nice HTML report showing which places were visited and which were missed.
Usage is simple - add package bisect_ppx when building tests, run your tests, then run the Bisect_ppx report tool on the generated visitation files.
Linter | Message | Location |
---|---|---|
input-labels Identify input labels that do not match package names | label 'ocaml-ounit2' does not match package name 'ocaml4.07-ounit2' | |
input-labels Identify input labels that do not match package names | label 'ocaml-migrate-parsetree' does not match package name 'ocaml4.07-migrate-parsetree' | |
input-labels Identify input labels that do not match package names | label 'ocaml-ppx-tools-versioned' does not match package name 'ocaml4.07-ppx-tools-versioned' | |
input-labels Identify input labels that do not match package names | label 'ocaml-ppxlib' does not match package name 'ocaml4.07-ppxlib' | |
input-labels Identify input labels that do not match package names | label 'ocaml-cmdliner' does not match package name 'ocaml4.07-cmdliner' |