/
opam
64 lines (60 loc) · 2.08 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
opam-version: "2.0"
maintainer: [
"Anton Bachin <antonbachin@yahoo.com>"
"Leonid Rozenberg <leonidr@gmail.com>"
]
authors: [
"Xavier Clerc <bisect@x9c.fr>"
"Leonid Rozenberg <leonidr@gmail.com>"
"Anton Bachin <antonbachin@yahoo.com>"
]
license: "MPL-2.0"
homepage: "https://github.com/aantron/bisect_ppx"
bug-reports: "https://github.com/aantron/bisect_ppx/issues"
dev-repo: "git+https://github.com/aantron/bisect_ppx.git"
depends: [
"ocaml" {>= "4.02.0"}
"base-unix"
"jbuilder" {>= "1.0+beta13"}
"ocamlbuild"
"ocaml-migrate-parsetree" {>= "1.0.3" & < "2.0.0"}
"ounit" {with-test}
"ppx_tools_versioned"
]
conflicts: [
"ocveralls" {<= "0.3.2"}
]
# Note that Bisect_ppx effectively requires 4.02.3, because Jbuilder requires
# it. 4.02.0 is the natural constraint of Bisect_ppx.
messages: [
"For the Ocamlbuild plugin, please install package bisect_ppx-ocamlbuild"
{ocamlbuild:installed & !bisect_ppx-ocamlbuild:installed}
]
post-messages: [
"The future Bisect_ppx 2.0.0 will make breaking changes in late 2017. See
https://github.com/aantron/bisect_ppx/releases/tag/1.3.0"
]
build: [
["jbuilder" "build" "-p" name "-j" jobs]
["jbuilder" "runtest" "-p" name] {with-test & ocaml:version < "4.08.0"}
]
synopsis: "Code coverage for OCaml"
description: """
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, then run the
report tool on the generated visitation files.
This is an advanced fork of the original Bisect coverage tool. It has many
improvements and updates.
- Much more thorough code instrumentation, so you can find more gaps in your
testing.
- Fast operation by default.
- More legible and appealing HTML reports.
- Various bugfixes.
- No camlp4 dependency."""
url {
src: "https://github.com/aantron/bisect_ppx/archive/1.3.1.tar.gz"
checksum: "md5=9b76f6f192307ec7098ded5e36670df2"
}