-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Alcotest is a lightweight and colourful test framework. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
opam-version: "1.2" | ||
maintainer: "[email protected]" | ||
authors: "Thomas Gazagnaire" | ||
homepage: "https://github.com/mirage/alcotest/" | ||
dev-repo: "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] | ||
build-test: [ | ||
["ocaml" "pkg/pkg.ml" "build" "--pinned" pinned "--tests" "true"] | ||
["ocaml" "pkg/pkg.ml" "test" ] | ||
] | ||
depends: [ | ||
"ocamlfind" {build} | ||
"ocamlbuild" {build} | ||
"topkg" {build} | ||
"fmt" | ||
"astring" | ||
"result" | ||
"cmdliner" | ||
] | ||
available: [ocaml-version >= "4.01.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/mirage/alcotest/releases/download/0.5.0/alcotest-0.5.0.tbz" | ||
checksum: "9f9783b00a6302e2a9110b66886b4bc2" |