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. mehari >= "0.5"
  363. mehari-miou
  364. mehari-mirage >= "0.5"
  365. mel-bastet
  366. melange >= "7.0.0-51"
  367. melange-edn >= "0.5.0"
  368. menhir-lsp >= "0.3.3"
  369. menhirformat
  370. merlin = "4.17.1-501"
  371. merlin-lib >= "4.17.1-501"
  372. metrics
  373. mfat
  374. mfetch
  375. miaou-core
  376. miaou-serve
  377. middleware
  378. migra
  379. mimic
  380. minicaml = "0.3.1" | >= "0.4"
  381. mirage >= "4.0.0"
  382. mirage-block-partition
  383. mirage-block-ramdisk
  384. mirage-channel >= "4.0.1"
  385. mirage-crypto-ec
  386. mirage-flow-unix
  387. mirage-kv >= "2.0.0"
  388. mirage-kv-mem >= "4.0.1"
  389. mirage-kv-unix >= "3.0.0"
  390. mirage-logs
  391. mirage-nat
  392. mirage-net-unix
  393. mirage-runtime < "4.7.0"
  394. mirage-tc
  395. mjson
  396. mldsa
  397. mlgpx
  398. mlkem
  399. mmdb < "0.3.0"
  400. mnd
  401. modelkit
  402. modelkit-nx
  403. modelkit-parallel
  404. modelkit-talon
  405. modelkit-xgboost
  406. mqtt
  407. mrmime >= "0.2.0"
  408. msgpck >= "1.6"
  409. mssql
  410. multibase
  411. multicore-magic
  412. multihash
  413. multihash-digestif
  414. multipart-form-data
  415. multipart_form
  416. multipart_form-eio
  417. multipart_form-lwt
  418. multipart_form-miou
  419. named-pipe
  420. nanoid
  421. nbd >= "4.0.3"
  422. nbd-tool
  423. nel
  424. neo4j_bolt
  425. neodriver
  426. neodriver_core
  427. neodriver_eio
  428. neodriver_packstream
  429. nloge
  430. nocoiner
  431. noise
  432. non_empty_list
  433. nx < "1.0.0~alpha3"
  434. nx-datasets
  435. nx-text
  436. OCADml >= "0.6.0"
  437. obatcher
  438. object
  439. obs-eio
  440. obs-prometheus-eio
  441. ocaml-ai-sdk
  442. ocaml-index < "5.4.1-503"
  443. ocaml-r >= "0.4.0"
  444. ocaml-version >= "3.5.0"
  445. ocamlformat < "0.25.1"
  446. ocamlformat-lib
  447. ocamlformat-mlx-lib
  448. ocamlformat-rpc < "removed"
  449. ocamline
  450. ocgtk
  451. ochre
  452. ochre-cli
  453. ocluster
  454. ocue
  455. odoc < "2.1.1"
  456. oenv >= "0.1.0"
  457. ohex
  458. ohttp
  459. ohttp-cohttp
  460. ohttp-cohttp-eio
  461. ohttp-cohttp-lwt
  462. ohttp-piaf
  463. oidc
  464. oktree >= "0.2.4"
  465. opam-0install
  466. opam-0install-cudf >= "0.5.0"
  467. opam-compiler
  468. opam-file-format >= "2.1.1"
  469. opam-repomin
  470. opencage
  471. opentelemetry >= "0.6"
  472. opentelemetry-client
  473. opentelemetry-client-cohttp-eio
  474. opentelemetry-client-cohttp-lwt >= "0.6"
  475. opentelemetry-client-ocurl >= "0.6"
  476. opentelemetry-client-ocurl-lwt
  477. opentelemetry-cohttp-lwt >= "0.6"
  478. opentelemetry-logs
  479. opentelemetry-lwt >= "0.6"
  480. opium
  481. opium-graphql
  482. opium-testing
  483. opium_kernel
  484. orewa
  485. orgeat
  486. ortac-core
  487. ortac-wrapper
  488. osnap < "0.3.0"
  489. osx-acl
  490. osx-attr
  491. osx-cf
  492. osx-fsevents
  493. osx-keychain
  494. osx-membership
  495. osx-mount
  496. osx-xattr
  497. otoggl
  498. owl >= "0.7.0" & != "0.9.0" & != "1.0.0"
  499. owl-base < "0.5.0"
  500. owl-ode >= "0.1.0" & != "0.2.0"
  501. owl-symbolic
  502. ozstd
  503. par_incr
  504. parseff
  505. passe
  506. passmaker
  507. patch
  508. pbkdf
  509. pecu >= "0.2"
  510. pf-qubes
  511. pg_query >= "0.9.6"
  512. pgx
  513. pgx_unix
  514. pgx_value_core
  515. pgx_value_ptime
  516. phylogenetics
  517. piaf
  518. picos < "0.5.0"
  519. picos_meta
  520. pidgin
  521. pidgio
  522. piece_rope
  523. plebeia >= "2.0.0"
  524. polyglot
  525. polymarket
  526. polynomial
  527. ppx_bin_there
  528. ppx_blob >= "0.3.0"
  529. ppx_catch
  530. ppx_deriving_cmdliner
  531. ppx_deriving_ezjsonm
  532. ppx_deriving_qcheck
  533. ppx_deriving_rpc
  534. ppx_deriving_yaml
  535. ppx_deriving_yamlx
  536. ppx_ezlua
  537. ppx_hegel_generator
  538. ppx_hegel_test
  539. ppx_inline_alcotest
  540. ppx_map
  541. ppx_marshal
  542. ppx_mica
  543. ppx_parser
  544. ppx_protocol_conv
  545. ppx_protocol_conv_json
  546. ppx_protocol_conv_jsonm
  547. ppx_protocol_conv_msgpack
  548. ppx_protocol_conv_xml_light
  549. ppx_protocol_conv_xmlm
  550. ppx_protocol_conv_yaml
  551. ppx_repr
  552. ppx_subliner
  553. ppx_units
  554. ppx_yojson >= "1.1.0"
  555. pratter
  556. prbnmcn-ucb1 >= "0.0.2"
  557. prc
  558. preface
  559. pretty_expressive
  560. prettym
  561. primavera >= "1.1.0"
  562. privatus-analytics
  563. privatus-analytics-dream
  564. proc-smaps
  565. producer
  566. progress
  567. prom
  568. prometheus < "1.2"
  569. prometheus-app
  570. prometheus-eio
  571. prometheus-lwt
  572. prometheus-reporter
  573. protocell
  574. protocol-9p < "0.11.0" | >= "0.11.2"
  575. protocol-9p-unix
  576. proton
  577. psq
  578. public-suffix
  579. purl
  580. pxshot
  581. pyast
  582. qcaml
  583. qcheck >= "0.25"
  584. qcheck-alcotest
  585. qcheck-core >= "0.25"
  586. qcow-stream >= "0.13.0"
  587. qcow-tool = "0.13.0"
  588. qcow-types = "0.13.0"
  589. qdrant
  590. query-json
  591. quickjs
  592. quill < "1.0.0~alpha3"
  593. quint-connect
  594. randii
  595. reason-standard
  596. red-black-tree
  597. reparse >= "2.0.0" & < "3.0.0"
  598. reparse-unix < "2.1.0"
  599. resp
  600. resp-unix >= "0.10.0"
  601. resto >= "0.9"
  602. rfc1951 < "1.0.0"
  603. routes < "2.0.0"
  604. rpc
  605. rpclib
  606. rpclib-async
  607. rpclib-lwt
  608. rpmfile < "0.3.0"
  609. rpmfile-eio
  610. rpmfile-unix
  611. rune < "1.0.0~alpha3"
  612. runtime_events_tools >= "0.5.2"
  613. SZXX >= "4.0.0"
  614. saga
  615. salsa20
  616. salsa20-core
  617. sanddb >= "0.2"
  618. saturn != "0.4.1"
  619. saturn_lockfree != "0.4.1"
  620. scrypt-kdf
  621. secp256k1 >= "0.4.1"
  622. secp256k1-internal
  623. secret
  624. semver >= "0.2.1"
  625. sendmail
  626. sendmail-lwt
  627. sendmail-miou-unix
  628. sendmail-mirage
  629. sendmsg
  630. seqes
  631. server-reason-react
  632. session-cookie
  633. session-cookie-async
  634. session-cookie-lwt
  635. sha256-cng
  636. shakuhachi
  637. sherlodoc
  638. sihl < "0.2.0"
  639. sihl-type
  640. slhdsa
  641. slug
  642. smaws-clients
  643. smaws-lib
  644. smol
  645. smol-helpers
  646. smtml >= "0.30.0"
  647. sodium-fmt
  648. solidity-alcotest
  649. sosie
  650. soteria
  651. sowilo < "1.0.0~alpha3"
  652. spdx_licenses
  653. spectrum >= "0.2.0"
  654. spectrum_capabilities
  655. spectrum_palette_ppx
  656. spectrum_palettes
  657. spectrum_tools
  658. spin >= "0.7.0"
  659. spurs < "0.1.1"
  660. squirrel
  661. ssh-agent
  662. ssl >= "0.6.0"
  663. starred_ml
  664. stem
  665. stramon-lib
  666. stringx
  667. styled-ppx
  668. swapfs
  669. symex >= "0.2"
  670. symphony-orchestrator-tui
  671. synchronizer >= "0.2"
  672. syslog-rfc5424
  673. syto
  674. tabr
  675. talon < "1.0.0~alpha3"
  676. tar-eio >= "3.5.0"
  677. tar-mirage
  678. tbls
  679. tcpip
  680. tdigest < "2.1.0"
  681. tdmrep
  682. term-indexing
  683. term-tools
  684. termaid
  685. terminal
  686. terminal_size >= "0.1.1"
  687. terminus
  688. terminus-cohttp
  689. terminus-hlc
  690. terml
  691. testo
  692. testo-lwt
  693. textmate-language >= "0.3.0"
  694. textrazor
  695. thread-table
  696. timedesc
  697. timere
  698. timere-parse >= "0.0.7"
  699. timmy
  700. timmy-jsoo
  701. timmy-lwt
  702. timmy-unix
  703. tiny_appkits
  704. tiny_languages
  705. tiny_libs
  706. tinybox
  707. tls >= "0.12.8"
  708. toc
  709. topojson
  710. topojsone
  711. trail
  712. traits
  713. transept
  714. tsort >= "2.2.0"
  715. tw
  716. twostep
  717. type_eq
  718. type_id
  719. typeid >= "1.0.1"
  720. tyre >= "0.4"
  721. tyxml >= "4.2.0"
  722. tyxml-jsx
  723. tyxml-ppx >= "4.3.0"
  724. tyxml-syntax
  725. ucharset
  726. uecc
  727. ulid
  728. universal-portal
  729. unix-dirent
  730. unix-errno
  731. unix-sys-resource
  732. unix-sys-stat
  733. unix-time
  734. unstrctrd
  735. uring < "0.4"
  736. user-agent-parser
  737. uspf
  738. uspf-lwt
  739. uspf-mirage
  740. uspf-unix
  741. utcp
  742. utop >= "2.13.0"
  743. validate
  744. validator
  745. valkey
  746. vercel
  747. verdict
  748. vhd-format-lwt >= "0.13.0"
  749. wayland >= "2.0"
  750. wcwidth
  751. websocketaf
  752. wire
  753. x509 >= "0.7.0"
  754. xapi-rrd
  755. xapi-stdext-date
  756. xapi-stdext-encodings
  757. xapi-stdext-std >= "4.16.0"
  758. xdge
  759. xgboost
  760. xkbcommon
  761. yaml
  762. yaml-sexp
  763. yocaml
  764. yocaml_syndication >= "2.0.0"
  765. yocaml_yaml < "2.0.0"
  766. yojson >= "1.6.0"
  767. yojson-five
  768. yuscii >= "0.3.0"
  769. yuujinchou >= "1.0.0"
  770. zar
  771. zed >= "3.2.2"
  772. 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