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-1.7.0.tbz
sha256=812bacdb34b45e88995e07d7306bdab2f72479ef1996637f1d5d1f41667902df
sha512=4ae1ba318949ec9db8b87bc8072632a02f0e4003a95ab21e474f5c34c3b5bde867b0194a2d0ea7d9fc4580c70a30ca39287d33a8c134acc7611902f79c7b7ce8

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. For information on contributing to Alcotest, see CONTRIBUTING.md.

OCaml-CI Build Status Alcotest Documentation


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.

Using Alcotest with opam and Dune

Add (alcotest :with-test) to the depends stanza of your dune-project file, or "alcotest" {with-test} to your opam file. Use the with-test package variable to declare your tests opam dependencies. Call opam to install them:

$ opam install --deps-only --with-test .

You can then declare your test and link with Alcotest: (test (libraries alcotest …) …), and run your tests:

$ dune runtest

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 directory 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 preferred 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 does random generation and property testing (e.g. Quick Check);
  • crowbar and bun are similar to qcheck, but use compiler-directed randomness, i.e. they take 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.1.0"
  6. astring
  7. fmt >= "0.8.7"
  8. ocaml >= "4.05.0"
  9. dune >= "3.0"

Dev Dependencies (2)

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

Optional Dependencies

None

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