package alcotest

Build not checked
  1. Overview
  2. Docs
Alcotest is a lightweight and colourful test framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-js-1.5.0.tbz
sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c
sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45

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.

Added to opam-repository:

README

A lightweight and colourful test framework.


Alcotest exposes a 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. See the manpage for details.

The API documentation can be found [here][docs]. For information on contributing to Alcotest, see CONTRIBUTING.md.

OCaml-CI Build Status docs


Examples

A simple example (taken from examples/simple.ml):

Generated by the following test suite specification:

(* Build with `ocamlbuild -pkg alcotest simple.byte` *)

(* A module with functions to test *)
module To_test = struct
  let lowercase = String.lowercase_ascii
  let capitalize = String.capitalize_ascii
  let str_concat = String.concat ""
  let list_concat = List.append
end

(* The tests *)
let test_lowercase () =
  Alcotest.(check string) "same string" "hello!" (To_test.lowercase "hELLO!")

let test_capitalize () =
  Alcotest.(check string) "same string" "World." (To_test.capitalize "world.")

let test_str_concat () =
  Alcotest.(check string) "same string" "foobar" (To_test.str_concat ["foo"; "bar"])

let test_list_concat () =
  Alcotest.(check (list int)) "same lists" [1; 2; 3] (To_test.list_concat [1] [2; 3])

(* Run it *)
let () =
  let open Alcotest in
  run "Utils" [
      "string-case", [
          test_case "Lower case"     `Quick test_lowercase;
          test_case "Capitalization" `Quick test_capitalize;
        ];
      "string-concat", [ test_case "String mashing" `Quick test_str_concat  ];
      "list-concat",   [ test_case "List mashing"   `Slow  test_list_concat ];
    ]

The result is a self-contained binary which displays the test results. Use dune exec examples/simple.exe -- --help to see the runtime options.

Here's an example of a of failing test suite:

By default, only the first failing test log is printed to the console (and all test logs are captured on disk). Pass --show-errors to print all error messages.

Selecting tests to execute

You can filter which tests to run by supplying a regular expression matching the names of the tests to execute, or by passing a regular expression and a comma-separated list of test numbers (or ranges of test numbers, e.g. 2,4..9):

$ ./simple.native test '.*concat*'
Testing Utils.
[SKIP]     string-case            0   Lower case.
[SKIP]     string-case            1   Capitalization.
[OK]       string-concat          0   String mashing.
[OK]       list-concat            0   List mashing.
The full test results are available in `_build/_tests`.
Test Successful in 0.000s. 2 tests run.

$ ./simple.native test 'string-case' '1..3'
Testing Utils.
[SKIP]     string-case            0   Lower case.
[OK]       string-case            1   Capitalization.
[SKIP]     string-concat          0   String mashing.
[SKIP]     list-concat            0   List mashing.
The full test results are available in `_build/_tests`.
Test Successful in 0.000s. 1 test run.

Note that you cannot filter by test case name (i.e. Lower case or Capitalization), you must filter by test name & number instead.

See the examples folder for more examples.

Quick and Slow tests

In general you should use `Quick tests: tests that are ran on any invocations of the test suite. You should only use `Slow tests for stress tests that are ran only on occasion (typically before a release or after a major change). These slow tests can be suppressed by passing the -q flag on the command line, e.g.:

$ ./test.exe -q # run only the quick tests
$ ./test.exe    # run quick and slow tests

Passing custom options to the tests

In most cases, the base tests are unit -> unit functions. However, it is also possible to pass an extra option to all the test functions by using 'a -> unit, where 'a is the type of the extra parameter.

In order to do this, you need to specify how this extra parameter is read on the command-line, by providing a Cmdliner term for command-line arguments which explains how to parse and serialize values of type 'a (note: do not use positional arguments, only optional arguments are supported).

For instance:

let test_nice i = Alcotest.(check int) "Is it a nice integer?" i 42

let int =
  let doc = "What is your prefered number?" in
  Cmdliner.Arg.(required & opt (some int) None & info ["n"] ~doc ~docv:"NUM")

let () =
  Alcotest.run_with_args "foo" int [
    "all", ["nice", `Quick, test_nice]
  ]

Will generate test.exe such that:

$ test.exe test
test.exe: required option -n is missing

$ test.exe test -n 42
Testing foo.
[OK]                all          0   int.

Lwt

Alcotest provides an Alcotest_lwt module that you could use to wrap Lwt test cases. The basic idea is that instead of providing a test function in the form unit -> unit, you provide one with the type unit -> unit Lwt.t and alcotest-lwt calls Lwt_main.run for you.

However, there are a couple of extra features:

  • If an async exception occurs, it will cancel your test case for you and fail it (rather than exiting the process).
  • You get given a switch, which will be turned off when the test case finishes (or fails). You can use that to free up any resources.

For instance:

let free () = print_endline "freeing all resources"; Lwt.return ()

let test_lwt switch () =
  Lwt_switch.add_hook (Some switch) free;
  Lwt.async (fun () -> failwith "All is broken");
  Lwt_unix.sleep 10.

let () =
  Lwt_main.run @@ Alcotest_lwt.run "foo" [
    "all", [
      Alcotest_lwt.test_case "one" `Quick test_lwt
    ]
  ]

Will generate:

$ test.exe
Testing foo.
[ERROR]             all          0   one.
-- all.000 [one.] Failed --
in _build/_tests/all.000.output:
freeing all resources
[failure] All is broken

Comparison with other testing frameworks

The README is pretty clear about that:

Alcotest is the only testing framework using colors!

More seriously, Alcotest is similar to ounit but it fixes a few of the problems found in that library:

  • Alcotest has a nicer output, it is easier to see what failed and what succeeded and to read the log outputs of the failed tests;
  • Alcotest uses combinators to define pretty-printers and comparators between the things to test.

Other nice tools doing different kind of testing also exist:

  • qcheck qcheck does random generation and property testing (e.g. Quick Check)
  • crowbar and bun are similar to qcheck, but use compiler-directed randomness, e.g. it takes advantage of the AFL support the OCaml compiler.
  • ppx_inline_tests allows to write tests in the same file as your source-code; they will be run only in a special mode of compilation.

Dependencies (9)

  1. ocaml-syntax-shims
  2. uutf >= "1.0.1"
  3. stdlib-shims
  4. re >= "1.7.2"
  5. cmdliner >= "1.0.0" & < "2.0.0"
  6. astring
  7. fmt >= "0.8.7"
  8. ocaml >= "4.03.0"
  9. dune >= "2.8"

Dev Dependencies (2)

  1. odoc with-doc
  2. cmdliner with-test & < "1.1.0"

Optional Dependencies

None

  1. a2a-client
  2. aho-corasick
  3. ahrocksdb
  4. albatross >= "1.5.4"
  5. alcobar < "0.4.0"
  6. alcotest-async < "1.7.0"
  7. alg_structs_qcheck
  8. algaeff
  9. ambient-context
  10. ambient-context-eio
  11. ambient-context-lwt
  12. angstrom >= "0.7.0"
  13. ansi >= "0.6.0"
  14. anycache >= "0.7.4"
  15. anycache-lwt
  16. arc
  17. archetype >= "1.4.2"
  18. archi
  19. arp
  20. arrakis < "1.1.0"
  21. art < "0.3.0"
  22. asai
  23. asak
  24. asli >= "0.2.0"
  25. asn1-combinators >= "0.2.5"
  26. async-uri >= "0.5.0"
  27. atd >= "2.3.3"
  28. atdgen >= "2.10.0"
  29. atdpy
  30. atdts
  31. aws-eio
  32. awskit < "0.2.0"
  33. awskit-eio < "0.2.0"
  34. awskit-lwt < "0.2.0"
  35. awskit-lwt-unix < "0.2.0"
  36. awskit-s3 < "0.2.0"
  37. awskit-s3-eio < "0.2.0"
  38. awskit-s3-lwt < "0.2.0"
  39. awskit-s3-lwt-unix < "0.2.0"
  40. awskit-s3-sim < "0.2.0"
  41. azure-cosmos-db-eio
  42. base32
  43. base64 >= "2.1.2" & < "3.2.0" | >= "3.4.0"
  44. bastet
  45. bastet_async
  46. bastet_lwt
  47. bech32
  48. bechamel >= "0.5.0"
  49. betacalendars
  50. bigarray-overlap
  51. bigstringaf
  52. bin_there
  53. biotk >= "0.4"
  54. bitlib
  55. bizowie-api
  56. blake2
  57. bloomf
  58. bls12-381 < "0.4.1" | >= "3.0.0" & < "18.0"
  59. bls12-381-hash
  60. bls12-381-js >= "0.4.2"
  61. bls12-381-js-gen >= "0.4.2"
  62. bls12-381-legacy
  63. bls12-381-signature
  64. bls12-381-unix
  65. blurhash
  66. bm25
  67. brisk-reconciler
  68. builder-web
  69. bytebuffer
  70. bytream >= "0.2"
  71. ca-certs
  72. ca-certs-nss
  73. cabal
  74. cabal_workflow_runner
  75. cactus
  76. caldav
  77. calendar >= "3.0.0"
  78. calendars >= "2.0.0"
  79. callipyge
  80. camlix
  81. camlkit
  82. camlkit-base
  83. capnp-rpc < "1.2.3"
  84. capnp-rpc-unix < "1.2.3"
  85. caqti >= "1.7.0"
  86. caqti-async >= "1.7.0"
  87. caqti-driver-mariadb >= "1.7.0"
  88. caqti-driver-postgresql >= "1.7.0"
  89. caqti-driver-sqlite3 >= "1.7.0"
  90. caqti-dynload = "2.0.1"
  91. caqti-eio
  92. caqti-lwt >= "1.7.0"
  93. caqti-miou
  94. carray
  95. carton < "1.0.0"
  96. carton-git
  97. carton-lwt >= "0.4.3" & < "1.0.0"
  98. catala >= "0.6.0"
  99. cborl
  100. cf-lwt
  101. chacha
  102. chamelon
  103. chamelon-unix
  104. charrua-client
  105. charrua-server
  106. checkseum >= "0.0.3"
  107. cid
  108. clarity-lang
  109. class_group_vdf
  110. cohttp < "6.0.0"
  111. cohttp-curl-async < "6.1.0"
  112. cohttp-eio = "6.0.0~beta2"
  113. colombe >= "0.2.0"
  114. color
  115. commons
  116. conan
  117. conan-cli
  118. conan-database
  119. conan-lwt
  120. conan-unix
  121. conex < "0.10.0"
  122. conex-mirage-crypto
  123. conformist
  124. cookie
  125. cow >= "2.2.0"
  126. crockford
  127. css
  128. css-parser
  129. cstruct
  130. cstruct-sexp
  131. ctypes-zarith
  132. cuid
  133. curly
  134. current
  135. current-albatross-deployer
  136. current_git >= "0.7.1"
  137. current_incr
  138. current_rpc >= "0.7.4"
  139. cvc5 >= "1.3.0-3"
  140. data-encoding
  141. dates_calc
  142. dbase4
  143. decimal >= "0.3.0"
  144. decompress < "1.5.3"
  145. depyt
  146. digestif >= "0.9.0"
  147. dispatch >= "0.4.1"
  148. dkim
  149. dkim-bin
  150. dkim-mirage
  151. dkml-dune-dsl-show
  152. dkml-install
  153. dkml-install-installer
  154. dkml-install-runner
  155. dmarc
  156. dns >= "4.4.1"
  157. dns-cli
  158. dns-client >= "4.6.3"
  159. dns-forward-lwt-unix
  160. dns-resolver
  161. dns-server
  162. dns-tsig
  163. dnssd
  164. dnssec < "10.2.4"
  165. docfd >= "13.0.0"
  166. domain-name
  167. dream
  168. dream-pure
  169. duff
  170. dune-deps >= "1.4.0"
  171. dune-release >= "1.0.0"
  172. duration
  173. echo
  174. ecma-regex
  175. eio < "0.12"
  176. eio_linux < "0.12"
  177. eio_windows < "0.12"
  178. eliom >= "13.0.0"
  179. elm_playground_3d_software
  180. elm_playground_gamekits
  181. elm_playground_software
  182. emile
  183. encore
  184. eqaf >= "0.5"
  185. equinoxe
  186. equinoxe-cohttp
  187. equinoxe-hlc
  188. ezgzip
  189. ezjsonm
  190. ezjsonm-lwt
  191. ezlua
  192. FPauth
  193. FPauth-core
  194. FPauth-responses
  195. FPauth-strategies
  196. faker
  197. faraday != "0.2.0"
  198. farfadet
  199. fat-filesystem
  200. fehu < "1.0.0~alpha3"
  201. ff
  202. ff-pbt
  203. flex-array
  204. flux
  205. fluxt
  206. forcamla
  207. forester >= "5.0"
  208. fsevents-lwt
  209. functoria
  210. fungi
  211. geojson
  212. geoml >= "0.1.1"
  213. git
  214. git-cohttp
  215. git-cohttp-unix
  216. git-kv >= "0.2.0"
  217. git-mirage
  218. git-net
  219. git-split
  220. git-unix
  221. gitlab-unix
  222. glicko2
  223. gmap
  224. gmocoin
  225. gobba
  226. gpt
  227. graphql
  228. graphql-async
  229. graphql-cohttp >= "0.13.0"
  230. graphql-lwt
  231. graphql_parser != "0.11.0"
  232. graphql_ppx
  233. h1
  234. h1_parser
  235. h2
  236. hacl
  237. hacl-star >= "0.6.0" & < "0.7.2"
  238. hacl_func
  239. hacl_x25519
  240. handlebars-ml >= "0.2.1"
  241. hedgehog-alcotest
  242. hexaly
  243. hexen
  244. highlexer
  245. highs
  246. hkdf
  247. hockmd
  248. html_of_jsx
  249. http < "6.0.0"
  250. http-multipart-formdata < "2.0.0"
  251. httpaf >= "0.2.0"
  252. https-eio
  253. httpun
  254. httpun-ws
  255. hugin < "1.0.0~alpha3"
  256. huml
  257. hvsock
  258. icalendar
  259. idna
  260. imagelib
  261. index < "1.7.0"
  262. inferno >= "20220603"
  263. influxdb-async
  264. influxdb-lwt
  265. inquire < "0.2.0"
  266. intel_hex >= "0.3"
  267. interval-map
  268. iomux
  269. irmin
  270. irmin-bench
  271. irmin-chunk
  272. irmin-cli
  273. irmin-containers
  274. irmin-fs
  275. irmin-git
  276. irmin-graphql
  277. irmin-pack
  278. irmin-pack-tools
  279. irmin-test < "3.6.1"
  280. irmin-tezos
  281. irmin-unix
  282. irmin-watcher
  283. jekyll-format
  284. jose
  285. json-data-encoding >= "0.9" & < "1.1.1"
  286. json_decoder
  287. jsonfeed
  288. jsonschema-core
  289. jsonschema-validation
  290. jsonxt
  291. junit_alcotest < "2.1.0"
  292. jwto
  293. k7
  294. kafka-eio
  295. kaun < "1.0.0~alpha3"
  296. kdf
  297. ke >= "0.2"
  298. kkmarkdown
  299. kmt
  300. kube
  301. lambda-runtime
  302. lambda_streams
  303. lambda_streams_async
  304. lambdapi
  305. layoutz
  306. letters
  307. liquid_ml >= "0.1.3"
  308. lmdb >= "1.0"
  309. logical
  310. logtk
  311. lp
  312. lp-glpk
  313. lp-glpk-js < "0.5.0"
  314. lp-gurobi < "0.5.0"
  315. lru
  316. lt-code
  317. luv
  318. mbr-format
  319. mcp-kit
  320. mcp-kit-cohttp-eio
  321. mcp-kit-eio
  322. mcp-kit-ppx
  323. mdx
  324. mec
  325. mechaml >= "1.2.1"
  326. mehari >= "0.5"
  327. mehari-miou
  328. mehari-mirage >= "0.5"
  329. melange >= "7.0.0-51"
  330. melange-edn >= "0.5.0"
  331. menhir-lsp >= "0.3.3"
  332. menhirformat
  333. merlin = "4.17.1-501"
  334. merlin-lib >= "4.17.1-501"
  335. metrics
  336. mfat
  337. mfetch
  338. mgit
  339. mhttp-client >= "0.0.6"
  340. miaou-core
  341. miaou-serve
  342. middleware
  343. mimic
  344. minicaml = "0.3.1" | >= "0.4"
  345. mirage >= "4.0.0"
  346. mirage-block-partition
  347. mirage-block-ramdisk
  348. mirage-channel >= "4.0.1"
  349. mirage-crypto-ec
  350. mirage-flow-unix
  351. mirage-kv >= "2.0.0"
  352. mirage-kv-mem
  353. mirage-kv-unix >= "3.0.0"
  354. mirage-logs
  355. mirage-nat
  356. mirage-net-unix
  357. mirage-runtime < "4.7.0"
  358. mirage-tc
  359. mjson
  360. mldsa
  361. mlgpx
  362. mlkem
  363. mmdb < "0.3.0"
  364. mnd
  365. mqtt
  366. mrmime >= "0.2.0"
  367. msgpck >= "1.6"
  368. mssql
  369. multibase
  370. multihash
  371. multihash-digestif
  372. multipart-form-data
  373. multipart_form
  374. multipart_form-eio
  375. multipart_form-lwt
  376. multipart_form-miou
  377. named-pipe
  378. nanoid
  379. nbd >= "4.0.3"
  380. nbd-tool
  381. neo4j_bolt
  382. neodriver
  383. neodriver_core
  384. neodriver_eio
  385. neodriver_packstream
  386. nloge
  387. nocoiner
  388. noise
  389. non_empty_list
  390. nx < "1.0.0~alpha3"
  391. nx-datasets
  392. nx-text
  393. OCADml >= "0.6.0"
  394. obatcher
  395. object < "0.2"
  396. obs-eio
  397. obs-prometheus-eio
  398. ocaml-ai-sdk
  399. ocaml-index < "5.4.1-503"
  400. ocaml-r >= "0.4.0"
  401. ocaml-version >= "3.5.0"
  402. ocamlformat < "0.25.1"
  403. ocamlformat-lib
  404. ocamlformat-mlx-lib
  405. ocamlformat-rpc < "removed"
  406. ocamline
  407. ocgtk
  408. ochre
  409. ochre-cli
  410. ocluster < "0.3.0"
  411. ocue
  412. odoc < "2.1.1"
  413. oenv >= "0.1.0"
  414. ohex
  415. oidc
  416. opam-0install
  417. opam-0install-cudf >= "0.5.0"
  418. opam-compiler
  419. opam-file-format >= "2.1.1"
  420. opam-repomin
  421. opencage
  422. opentelemetry >= "0.7" & != "0.90"
  423. opentelemetry-client
  424. opentelemetry-client-cohttp-eio
  425. opentelemetry-client-cohttp-lwt >= "0.6"
  426. opentelemetry-client-ocurl >= "0.6"
  427. opentelemetry-client-ocurl-lwt
  428. opentelemetry-cohttp-lwt >= "0.6"
  429. opentelemetry-logs
  430. opentelemetry-lwt >= "0.6"
  431. opium
  432. opium-graphql
  433. opium-testing
  434. opium_kernel
  435. orewa
  436. orgeat
  437. ortac-core
  438. ortac-wrapper
  439. osnap < "0.3.0"
  440. osx-acl
  441. osx-attr
  442. osx-cf
  443. osx-fsevents
  444. osx-keychain
  445. osx-membership
  446. osx-mount
  447. osx-xattr
  448. otoggl
  449. owl >= "0.7.0" & < "0.7.2" | = "1.0.2" | >= "1.2"
  450. owl-base < "0.5.0"
  451. owl-ode >= "0.1.0" & != "0.2.0"
  452. owl-rllib
  453. owl-symbolic
  454. ozstd
  455. parseff
  456. passe
  457. passmaker
  458. patch < "3.0.0~alpha2"
  459. pbkdf
  460. pecu >= "0.2"
  461. pf-qubes
  462. pg_query >= "0.9.6"
  463. pgx
  464. pgx_unix
  465. pgx_value_core
  466. pgx_value_ptime
  467. phylogenetics
  468. piaf
  469. plebeia >= "2.0.0"
  470. polyglot
  471. polynomial
  472. ppx_bin_there
  473. ppx_blob >= "0.3.0"
  474. ppx_deriving_cmdliner
  475. ppx_deriving_ezjsonm
  476. ppx_deriving_qcheck
  477. ppx_deriving_rpc
  478. ppx_deriving_yaml
  479. ppx_deriving_yamlx
  480. ppx_ezlua
  481. ppx_inline_alcotest
  482. ppx_marshal
  483. ppx_parser
  484. ppx_protocol_conv
  485. ppx_protocol_conv_json
  486. ppx_protocol_conv_jsonm
  487. ppx_protocol_conv_msgpack
  488. ppx_protocol_conv_xml_light
  489. ppx_protocol_conv_xmlm
  490. ppx_protocol_conv_yaml
  491. ppx_repr
  492. ppx_subliner
  493. ppx_units
  494. ppx_yojson >= "1.1.0"
  495. pratter
  496. prbnmcn-ucb1 >= "0.0.2"
  497. prc
  498. preface
  499. pretty_expressive
  500. prettym
  501. privatus-analytics
  502. privatus-analytics-dream
  503. proc-smaps
  504. producer < "0.2.0"
  505. progress
  506. prom
  507. prometheus < "1.2"
  508. prometheus-app
  509. prometheus-eio
  510. prometheus-lwt
  511. prometheus-reporter
  512. protocell
  513. protocol-9p < "0.11.0" | >= "0.11.2"
  514. protocol-9p-unix
  515. proton
  516. psq
  517. pyast
  518. qcaml
  519. qcheck >= "0.25"
  520. qcheck-alcotest
  521. qcheck-core >= "0.25"
  522. qcow-stream >= "0.13.0"
  523. qcow-tool = "0.13.0"
  524. qcow-types = "0.13.0"
  525. querty
  526. query-json
  527. quickjs
  528. quill < "1.0.0~alpha3"
  529. quint-connect
  530. randii
  531. reason-standard
  532. red-black-tree
  533. reparse >= "2.0.0" & < "3.0.0"
  534. reparse-unix < "2.1.0"
  535. resp
  536. resp-unix >= "0.10.0"
  537. resto >= "0.8"
  538. rfc1951 < "1.0.0"
  539. routes != "0.7.0" & < "2.0.0"
  540. rpc
  541. rpclib
  542. rpclib-async
  543. rpclib-lwt
  544. rpmfile < "0.3.0"
  545. rpmfile-eio
  546. rpmfile-unix
  547. rune < "1.0.0~alpha3"
  548. SZXX >= "4.0.0"
  549. saga
  550. salsa20
  551. salsa20-core
  552. sanddb >= "0.2"
  553. scrypt-kdf
  554. secp256k1 >= "0.4.1"
  555. secp256k1-internal
  556. semver >= "0.2.1"
  557. sendmail
  558. sendmail-lwt
  559. sendmail-miou-unix
  560. sendmail-mirage
  561. sendmsg
  562. seqes
  563. server-reason-react
  564. session-cookie
  565. session-cookie-async
  566. session-cookie-lwt
  567. sha256-cng
  568. shakuhachi
  569. sherlodoc
  570. sihl < "0.2.0"
  571. sihl-type
  572. slhdsa
  573. slug
  574. sm
  575. smaws-clients
  576. smaws-lib
  577. smol
  578. smol-helpers
  579. smtml >= "0.30.0"
  580. sodium-fmt
  581. solidity-alcotest
  582. sosie
  583. soteria
  584. sowilo < "1.0.0~alpha3"
  585. spdx_licenses
  586. spectrum >= "0.2.0"
  587. spectrum_capabilities
  588. spectrum_palette_ppx
  589. spectrum_palettes
  590. spectrum_tools
  591. spin >= "0.7.0"
  592. spurs < "0.1.1"
  593. squirrel
  594. ssh-agent
  595. ssl >= "0.6.0"
  596. stem
  597. stramon-lib
  598. stringx
  599. styled-ppx
  600. swapfs
  601. symex >= "0.2"
  602. symphony-orchestrator-tui
  603. synchronizer >= "0.2"
  604. syslog-rfc5424 < "0.2"
  605. talon < "1.0.0~alpha3"
  606. tar-eio >= "3.5.0"
  607. tcpip
  608. tdigest < "2.1.0"
  609. term-indexing
  610. term-tools
  611. termaid
  612. terminal
  613. terminal_size >= "0.1.1"
  614. terminus
  615. terminus-cohttp
  616. terminus-hlc
  617. terml
  618. testo
  619. testo-lwt
  620. textmate-language >= "0.3.0"
  621. textrazor
  622. timedesc
  623. timere
  624. timere-parse >= "0.0.7"
  625. timmy
  626. timmy-jsoo
  627. timmy-lwt
  628. timmy-unix
  629. tiny_appkits
  630. tiny_languages
  631. tiny_libs
  632. tinybox
  633. tls >= "0.12.8"
  634. toc
  635. topojson
  636. topojsone
  637. traits
  638. transept
  639. tsort >= "2.2.0"
  640. tw
  641. twostep
  642. type_eq
  643. type_id
  644. typeid >= "1.0.1"
  645. tyre >= "0.4"
  646. tyxml >= "4.2.0"
  647. tyxml-jsx
  648. tyxml-ppx >= "4.3.0"
  649. tyxml-syntax
  650. ucharset
  651. uecc
  652. ulid
  653. universal-portal
  654. unix-dirent
  655. unix-errno
  656. unix-sys-resource
  657. unix-sys-stat
  658. unix-time
  659. unstrctrd
  660. uring < "0.4"
  661. user-agent-parser
  662. uspf
  663. uspf-lwt
  664. uspf-mirage
  665. uspf-unix
  666. utcp
  667. utop >= "2.13.0"
  668. validate
  669. validator
  670. vercel
  671. verdict
  672. vhd-format-lwt >= "0.13.0"
  673. wayland >= "2.0"
  674. wcwidth
  675. websocketaf
  676. wire
  677. x509 >= "0.7.0"
  678. xapi-rrd
  679. xapi-stdext-date
  680. xapi-stdext-encodings
  681. xapi-stdext-std >= "4.16.0"
  682. xgboost
  683. yaml
  684. yaml-sexp
  685. yocaml
  686. yocaml_syndication >= "2.0.0"
  687. yocaml_yaml < "2.0.0"
  688. yojson >= "1.6.0"
  689. yojson-five
  690. yuscii >= "0.3.0"
  691. yuujinchou >= "1.0.0"
  692. zar
  693. zed >= "3.2.2"
  694. zlist < "0.4.0"

Conflicts (1)

  1. result < "1.5"

Build status

Results of building alcotest with each compiler on check.ci.ocaml.org, run of against opam-repository efadaba. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
1.10.2 n/a good good good good
1.9.1 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure