package alcotest

All checked builds pass
  1. Overview
  2. Docs
Alcotest is a lightweight and colourful test framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-1.9.1.tbz
sha256=1e29c3b41d4329062105b723dfda3aff86b8cef5e7c7500d0e491fc5fd78e482
sha512=c49d402fa636dcf11f81917610dd1d2eca8606c8919aede4db23710d071f6046a8f93c78de9fbfee26637a53ca67f71fad500bfa2478b7f0f059608a492dd0a5

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.2.0"
  6. astring
  7. fmt >= "0.8.7"
  8. ocaml >= "4.08"
  9. dune >= "3.0"

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies

None

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

Conflicts (2)

  1. js_of_ocaml-compiler < "5.8"
  2. result < "1.5"

Build status

Results of building alcotest with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. 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.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
1.9.1 (this version) 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