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.8.0.tbz
sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e
sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d

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