this repo has no description

[new release] alcotest, alcotest-async, alcotest-js, alcotest-mirage and alcotest-lwt (1.5.0)

CHANGES:

- Make Alcotest compatible with `js_of_ocaml.3.11.0`. Users can depend on the
new virtual `alcotest-js` Opam library to pick up the right `js_of_ocaml`
version automatically. (mirage/alcotest#326 mirage/alcotest#328, @hhugo @smorimoto)

- Record exception backtraces during test suite runs by default. This behaviour
can be disabled by passing `~record_backtrace:false` to `Alcotest.run`. (mirage/alcotest#317,
@CraigFe)

- Generate shorter unique identifiers for test runs (8-character alphanumeric,
rather than a full 128-bit UUID). (mirage/alcotest#304, @CraigFe)

- Change `Alcotest.{char,string}` pretty-printers to use OCaml syntax on
assertion failures (i.e. wrap with quotes and escape control characters).
(mirage/alcotest#318, @CraigFe)

- Fix process for getting the width of attached terminals on MacOS.
Previously, a terminal width of 80 columns was assumed. (mirage/alcotest#325, @CraigFe)

- Fix parsing of test filter ranges to allow '-' separators (e.g. `test alpha
1-4`), as advertised in the manpage. The previously-used '..' separator is
also supported. (mirage/alcotest#312, @CraigFe)

- Introduce an `Alcotest.V1` module that aliases the existing `Alcotest` API and
provides a stability guarantee over major version changes. Similar versioned
aliases also exist for the backends: `Alcotest_{async,lwt}.V1`. (mirage/alcotest#306,
@CraigFe)

- Change the `~filter` argument to `Alcotest.run` to be a predicate over tests.
(mirage/alcotest#305, @CraigFe)

- Renamed / removed some less frequently used modules used by the test backends:
- `Alcotest.Unix` -> `Alcotest.Unix_platform`
- `Alcotest_engine.{Cli,Core,Test}` -> `Alcotest_engine.V1.{Cli,Core,Test}`
- `Alcotest.{Cli,Core}` are now gone. Use `Alcotest_engine.V1.{Cli,Core}.Make
(Alcotest.Unix_platform)` instead.
(mirage/alcotest#306 mirage/alcotest#309, @CraigFe)

- Avoid exporting `list_tests` in the main test APIs (`Alcotest{,_lwt,_async}`).
Use `Alcotest_engine` directly if you want this function. (mirage/alcotest#310, @CraigFe)

Changed files
+238
packages
alcotest
alcotest.1.5.0
alcotest-async
alcotest-async.1.5.0
alcotest-js
alcotest-js.1.5.0
alcotest-lwt
alcotest-lwt.1.5.0
alcotest-mirage
alcotest-mirage.1.5.0
+47
packages/alcotest-async/alcotest-async.1.5.0/opam
···
···
+
opam-version: "2.0"
+
synopsis: "Async-based helpers for Alcotest"
+
description: "Async-based helpers for Alcotest"
+
maintainer: ["thomas@gazagnaire.org"]
+
authors: ["Thomas Gazagnaire"]
+
license: "ISC"
+
homepage: "https://github.com/mirage/alcotest"
+
doc: "https://mirage.github.io/alcotest"
+
bug-reports: "https://github.com/mirage/alcotest/issues"
+
depends: [
+
"dune" {>= "2.8"}
+
"re" {with-test}
+
"fmt" {with-test}
+
"cmdliner" {with-test}
+
"core"
+
"base"
+
"async_kernel"
+
"ocaml" {>= "4.03.0"}
+
"alcotest" {= version}
+
"async_unix" {>= "v0.9.0"}
+
"core_kernel" {>= "v0.9.0"}
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/mirage/alcotest.git"
+
x-commit-hash: "12889aa7f993ad55434443f1c447a59f18ffc9bf"
+
url {
+
src:
+
"https://github.com/mirage/alcotest/releases/download/1.5.0/alcotest-js-1.5.0.tbz"
+
checksum: [
+
"sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c"
+
"sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45"
+
]
+
}
+43
packages/alcotest-js/alcotest-js.1.5.0/opam
···
···
+
opam-version: "2.0"
+
synopsis:
+
"Virtual package containing optional JavaScript dependencies for Alcotest"
+
description:
+
"Virtual package containing optional JavaScript dependencies for Alcotest"
+
maintainer: ["thomas@gazagnaire.org"]
+
authors: ["Thomas Gazagnaire"]
+
license: "ISC"
+
homepage: "https://github.com/mirage/alcotest"
+
doc: "https://mirage.github.io/alcotest"
+
bug-reports: "https://github.com/mirage/alcotest/issues"
+
depends: [
+
"dune" {>= "2.8"}
+
"alcotest" {= version}
+
"js_of_ocaml-compiler" {>= "3.11.0"}
+
"fmt" {with-test & >= "0.8.7"}
+
"cmdliner" {with-test & >= "1.0.0"}
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/mirage/alcotest.git"
+
x-commit-hash: "12889aa7f993ad55434443f1c447a59f18ffc9bf"
+
url {
+
src:
+
"https://github.com/mirage/alcotest/releases/download/1.5.0/alcotest-js-1.5.0.tbz"
+
checksum: [
+
"sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c"
+
"sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45"
+
]
+
}
+44
packages/alcotest-lwt/alcotest-lwt.1.5.0/opam
···
···
+
opam-version: "2.0"
+
synopsis: "Lwt-based helpers for Alcotest"
+
description: "Lwt-based helpers for Alcotest"
+
maintainer: ["thomas@gazagnaire.org"]
+
authors: ["Thomas Gazagnaire"]
+
license: "ISC"
+
homepage: "https://github.com/mirage/alcotest"
+
doc: "https://mirage.github.io/alcotest"
+
bug-reports: "https://github.com/mirage/alcotest/issues"
+
depends: [
+
"dune" {>= "2.8"}
+
"re" {with-test}
+
"cmdliner" {with-test}
+
"fmt"
+
"ocaml" {>= "4.03.0"}
+
"alcotest" {= version}
+
"lwt"
+
"logs"
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/mirage/alcotest.git"
+
x-commit-hash: "12889aa7f993ad55434443f1c447a59f18ffc9bf"
+
url {
+
src:
+
"https://github.com/mirage/alcotest/releases/download/1.5.0/alcotest-js-1.5.0.tbz"
+
checksum: [
+
"sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c"
+
"sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45"
+
]
+
}
+46
packages/alcotest-mirage/alcotest-mirage.1.5.0/opam
···
···
+
opam-version: "2.0"
+
synopsis: "Mirage implementation for Alcotest"
+
description: "Mirage implementation for Alcotest"
+
maintainer: ["thomas@gazagnaire.org"]
+
authors: ["Thomas Gazagnaire"]
+
license: "ISC"
+
homepage: "https://github.com/mirage/alcotest"
+
doc: "https://mirage.github.io/alcotest"
+
bug-reports: "https://github.com/mirage/alcotest/issues"
+
depends: [
+
"dune" {>= "2.8"}
+
"re" {with-test}
+
"cmdliner" {with-test}
+
"fmt"
+
"ocaml" {>= "4.03.0"}
+
"alcotest" {= version}
+
"mirage-clock" {>= "2.0.0"}
+
"duration"
+
"lwt"
+
"logs"
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/mirage/alcotest.git"
+
x-commit-hash: "12889aa7f993ad55434443f1c447a59f18ffc9bf"
+
url {
+
src:
+
"https://github.com/mirage/alcotest/releases/download/1.5.0/alcotest-js-1.5.0.tbz"
+
checksum: [
+
"sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c"
+
"sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45"
+
]
+
}
+58
packages/alcotest/alcotest.1.5.0/opam
···
···
+
opam-version: "2.0"
+
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.
+
"""
+
maintainer: ["thomas@gazagnaire.org"]
+
authors: ["Thomas Gazagnaire"]
+
license: "ISC"
+
homepage: "https://github.com/mirage/alcotest"
+
doc: "https://mirage.github.io/alcotest"
+
bug-reports: "https://github.com/mirage/alcotest/issues"
+
depends: [
+
"dune" {>= "2.8"}
+
"ocaml" {>= "4.03.0"}
+
"fmt" {>= "0.8.7"}
+
"astring"
+
"cmdliner" {>= "1.0.0"}
+
"re"
+
"stdlib-shims"
+
"uutf"
+
"ocaml-syntax-shims"
+
"odoc" {with-doc}
+
]
+
conflicts: [
+
"result" {< "1.5"}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/mirage/alcotest.git"
+
x-commit-hash: "12889aa7f993ad55434443f1c447a59f18ffc9bf"
+
url {
+
src:
+
"https://github.com/mirage/alcotest/releases/download/1.5.0/alcotest-js-1.5.0.tbz"
+
checksum: [
+
"sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c"
+
"sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45"
+
]
+
}