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