/
opam
41 lines (39 loc) · 1.34 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
opam-version: "2.0"
maintainer: "thomas@gazagnaire.org"
authors: "Thomas Gazagnaire"
homepage: "https://github.com/mirage/alcotest/"
dev-repo: "git+https://github.com/mirage/alcotest.git"
bug-reports: "https://github.com/mirage/alcotest/issues/"
license: "ISC"
doc: "https://mirage.github.io/alcotest/"
build: [
["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
{with-test}
["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
depends: [
"ocaml" {>= "4.01.0" & < "4.07.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build}
"fmt" {>= "0.8.0"}
"astring"
"result"
"cmdliner"
]
synopsis: "Alcotest is a lightweight and colourful test framework."
description: """
Alcotest exposes simple interface to perform unit tests. It exposes
a simple `TESTABLE` module type, a `check` function to assert test
predicates and a `run` function to perform a list of `unit -> unit`
test callbacks.
Alcotest provides a quiet and colorful output where only faulty runs
are fully displayed at the end of the run (with the full logs ready to
inspect), with a simple (yet expressive) query language to select the
tests to run."""
url {
src:
"https://github.com/mirage/alcotest/releases/download/0.7.1/alcotest-0.7.1.tbz"
checksum: "md5=0fc3a567de041fe8559bdd2e20e5b795"
}