-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
53 lines (52 loc) · 1.82 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
opam-version: "2.0"
maintainer: "Vincent Hugot <vincent.hugot@gmail.com>"
authors: [
"Vincent Hugot <vincent.hugot@gmail.com>"
"Simon Cruanes <simon.cruanes.2007@m4x.org"
]
homepage: "https://github.com/vincent-hugot/iTeML"
bug-reports: "https://github.com/vincent-hugot/iTeML/issues"
doc:
"https://github.com/vincent-hugot/iTeML/blob/master/README.adoc#introduction"
tags: ["test" "property" "quickcheck"]
dev-repo: "git+ssh://git@github.com/vincent-hugot/iTeML.git"
build: [make "build"]
install: [make "BIN=%{bin}%" "install"]
remove: [
["rm" "%{bin}%/qtest"]
]
depends: [
"ocaml" {>= "4.00.0" & < "4.06.0"}
"ocamlfind"
"ounit" {>= "2.0.0"}
"ocamlbuild" {build}
"qcheck" {>= "0.5"}
]
post-messages:
"Version similar to 2.4, except it uses qcheck as an external library
instead of embedding it. There should be no other difference.
To use it, still call `qtest` on your .ml/.mli files to extract tests,
then compile the resulting suite using oUnit and qcheck.
"
synopsis: "iTeML / qtest : Inline (Unit) Tests for OCaml."
description: """
qtest extracts inline unit tests written using a special
syntax in comments. Those tests are then run using the oUnit framework
and the qcheck library. The possibilities range from trivial tests --
extremely simple to use -- to sophisticated random generation of test cases."""
flags: light-uninstall
url {
src: "https://github.com/vincent-hugot/iTeML/archive/v2.5.tar.gz"
checksum: [
"sha256=6137c46fd9a4238843d560a499de866ef14b963093033879d8c6d3467235e6ea"
"md5=5b29036ab1bd180d72a2c609f4186c67"
]
}
extra-source "qtest.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/qtest/qtest.install"
checksum: [
"sha256=42b9b4e4e96c05d382b93d00d2b64c09b3c980c1881b2a7eecb664895a04b3a2"
"md5=36d87746d47b206cbf45ab88dc199b8c"
]
}