Skip to content

Commit c0df13d

Browse files
samohtavsm
authored andcommitted
[new release] alcotest (5 packages) (1.8.0)
CHANGES: - Add `match_raises`, a generalized version of `check_raises` (mirage/alcotest#88, mirage/alcotest#386, @JoanThibault) - Update JaneStreet core and async to v0.16 (mirage/alcotest#390 @tmcgilchrist) - Fix division by zero when size of the terminal is incorrectly reported as zero. (fix mirage/alcotest#356, mirage/alcotest#381, @MisterDA) - Enable terminal size reporting on macOS and Windows. Also report the terminal size even when the test is run buffered by Dune. (mirage/alcotest#381, mirage/alcotest#396, @MisterDA) - Allow overriding the number of columns with `ALCOTEST_COLUMNS` env var. (mirage/alcotest#322, mirage/alcotest#381, @MisterDA) - Be able to allocate and use user's formatters for stdout/stderr (mirage/alcotest#399, @dinosaure) - Stop detecting ocamlci specifically, since there's nothing specific about it. Simply use the `CI` env var to detect CIs. Improve CI detection. (mirage/alcotest#397, @MisterDA)
1 parent 8b89052 commit c0df13d

File tree

5 files changed

+241
-0
lines changed
  • packages
    • alcotest/alcotest.1.8.0
    • alcotest-async/alcotest-async.1.8.0
    • alcotest-js/alcotest-js.1.8.0
    • alcotest-lwt/alcotest-lwt.1.8.0
    • alcotest-mirage/alcotest-mirage.1.8.0

5 files changed

+241
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
synopsis: "Async-based helpers for Alcotest"
3+
description: "Async-based helpers for Alcotest"
4+
maintainer: ["[email protected]"]
5+
authors: ["Thomas Gazagnaire"]
6+
license: "ISC"
7+
homepage: "https://github.com/mirage/alcotest"
8+
doc: "https://mirage.github.io/alcotest"
9+
bug-reports: "https://github.com/mirage/alcotest/issues"
10+
depends: [
11+
"dune" {>= "3.0"}
12+
"re" {with-test}
13+
"fmt" {with-test}
14+
"cmdliner" {with-test & >= "1.2.0"}
15+
"core" {>= "v0.16.0"}
16+
"core_unix" {>= "v0.16.0"}
17+
"base"
18+
"async_kernel"
19+
"ocaml" {>= "4.14.0"}
20+
"alcotest" {= version}
21+
"async" {>= "v0.16.0"}
22+
"async_unix" {>= "v0.16.0"}
23+
"odoc" {with-doc}
24+
]
25+
build: [
26+
["dune" "subst"] {dev}
27+
[
28+
"dune"
29+
"build"
30+
"-p"
31+
name
32+
"-j"
33+
jobs
34+
"@install"
35+
"@runtest" {with-test}
36+
"@doc" {with-doc}
37+
]
38+
]
39+
dev-repo: "git+https://github.com/mirage/alcotest.git"
40+
url {
41+
src:
42+
"https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz"
43+
checksum: [
44+
"sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e"
45+
"sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d"
46+
]
47+
}
48+
x-commit-hash: "6313c95008cc5d87888cdd86ae1c25e50627f466"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
opam-version: "2.0"
2+
synopsis:
3+
"Virtual package containing optional JavaScript dependencies for Alcotest"
4+
description:
5+
"Virtual package containing optional JavaScript dependencies for Alcotest"
6+
maintainer: ["[email protected]"]
7+
authors: ["Thomas Gazagnaire"]
8+
license: "ISC"
9+
homepage: "https://github.com/mirage/alcotest"
10+
doc: "https://mirage.github.io/alcotest"
11+
bug-reports: "https://github.com/mirage/alcotest/issues"
12+
depends: [
13+
"dune" {>= "3.0"}
14+
"alcotest" {= version}
15+
"js_of_ocaml-compiler" {>= "3.11.0"}
16+
"fmt" {with-test & >= "0.8.7"}
17+
"cmdliner" {with-test & >= "1.2.0"}
18+
"odoc" {with-doc}
19+
]
20+
dev-repo: "git+https://github.com/mirage/alcotest.git"
21+
build: [
22+
["dune" "subst"] {dev}
23+
[
24+
"dune"
25+
"build"
26+
"-p"
27+
name
28+
"-j"
29+
jobs
30+
"@install"
31+
"@runtest" {with-test}
32+
"@runtest-js" {with-test}
33+
"@doc" {with-doc}
34+
]
35+
]
36+
url {
37+
src:
38+
"https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz"
39+
checksum: [
40+
"sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e"
41+
"sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d"
42+
]
43+
}
44+
x-commit-hash: "6313c95008cc5d87888cdd86ae1c25e50627f466"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
opam-version: "2.0"
2+
synopsis: "Lwt-based helpers for Alcotest"
3+
description: "Lwt-based helpers for Alcotest"
4+
maintainer: ["[email protected]"]
5+
authors: ["Thomas Gazagnaire"]
6+
license: "ISC"
7+
homepage: "https://github.com/mirage/alcotest"
8+
doc: "https://mirage.github.io/alcotest"
9+
bug-reports: "https://github.com/mirage/alcotest/issues"
10+
depends: [
11+
"dune" {>= "3.0"}
12+
"re" {with-test}
13+
"cmdliner" {with-test & >= "1.2.0"}
14+
"fmt"
15+
"ocaml" {>= "4.08.0"}
16+
"alcotest" {= version}
17+
"lwt"
18+
"logs"
19+
"odoc" {with-doc}
20+
]
21+
build: [
22+
["dune" "subst"] {dev}
23+
[
24+
"dune"
25+
"build"
26+
"-p"
27+
name
28+
"-j"
29+
jobs
30+
"@install"
31+
"@runtest" {with-test}
32+
"@doc" {with-doc}
33+
]
34+
]
35+
dev-repo: "git+https://github.com/mirage/alcotest.git"
36+
url {
37+
src:
38+
"https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz"
39+
checksum: [
40+
"sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e"
41+
"sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d"
42+
]
43+
}
44+
x-commit-hash: "6313c95008cc5d87888cdd86ae1c25e50627f466"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
opam-version: "2.0"
2+
synopsis: "Mirage implementation for Alcotest"
3+
description: "Mirage implementation for Alcotest"
4+
maintainer: ["[email protected]"]
5+
authors: ["Thomas Gazagnaire"]
6+
license: "ISC"
7+
homepage: "https://github.com/mirage/alcotest"
8+
doc: "https://mirage.github.io/alcotest"
9+
bug-reports: "https://github.com/mirage/alcotest/issues"
10+
depends: [
11+
"dune" {>= "3.0"}
12+
"re" {with-test}
13+
"cmdliner" {with-test & >= "1.2.0"}
14+
"fmt"
15+
"ocaml" {>= "4.08.0"}
16+
"alcotest" {= version}
17+
"mirage-clock" {>= "2.0.0"}
18+
"duration"
19+
"lwt"
20+
"logs"
21+
"odoc" {with-doc}
22+
]
23+
build: [
24+
["dune" "subst"] {dev}
25+
[
26+
"dune"
27+
"build"
28+
"-p"
29+
name
30+
"-j"
31+
jobs
32+
"@install"
33+
"@runtest" {with-test}
34+
"@doc" {with-doc}
35+
]
36+
]
37+
dev-repo: "git+https://github.com/mirage/alcotest.git"
38+
url {
39+
src:
40+
"https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz"
41+
checksum: [
42+
"sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e"
43+
"sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d"
44+
]
45+
}
46+
x-commit-hash: "6313c95008cc5d87888cdd86ae1c25e50627f466"

packages/alcotest/alcotest.1.8.0/opam

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
opam-version: "2.0"
2+
synopsis: "Alcotest is a lightweight and colourful test framework"
3+
description: """
4+
Alcotest exposes simple interface to perform unit tests. It exposes
5+
a simple TESTABLE module type, a check function to assert test
6+
predicates and a run function to perform a list of unit -> unit
7+
test callbacks.
8+
9+
Alcotest provides a quiet and colorful output where only faulty runs
10+
are fully displayed at the end of the run (with the full logs ready to
11+
inspect), with a simple (yet expressive) query language to select the
12+
tests to run.
13+
"""
14+
maintainer: ["[email protected]"]
15+
authors: ["Thomas Gazagnaire"]
16+
license: "ISC"
17+
homepage: "https://github.com/mirage/alcotest"
18+
doc: "https://mirage.github.io/alcotest"
19+
bug-reports: "https://github.com/mirage/alcotest/issues"
20+
depends: [
21+
"dune" {>= "3.0"}
22+
"ocaml" {>= "4.08"}
23+
"fmt" {>= "0.8.7"}
24+
"astring"
25+
"cmdliner" {>= "1.2.0"}
26+
"re" {>= "1.7.2"}
27+
"stdlib-shims"
28+
"uutf" {>= "1.0.1"}
29+
"ocaml-syntax-shims"
30+
"odoc" {with-doc}
31+
]
32+
conflicts: [
33+
"result" {< "1.5"}
34+
"js_of_ocaml-compiler" {< "5.8"}
35+
]
36+
build: [
37+
["dune" "subst"] {dev}
38+
[
39+
"dune"
40+
"build"
41+
"-p"
42+
name
43+
"-j"
44+
jobs
45+
"@install"
46+
"@runtest" {with-test}
47+
"@doc" {with-doc}
48+
]
49+
]
50+
dev-repo: "git+https://github.com/mirage/alcotest.git"
51+
url {
52+
src:
53+
"https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz"
54+
checksum: [
55+
"sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e"
56+
"sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d"
57+
]
58+
}
59+
x-commit-hash: "6313c95008cc5d87888cdd86ae1c25e50627f466"

0 commit comments

Comments
 (0)