package alcotest

Build not checked
  1. Overview
  2. Docs
Alcotest is a lightweight and colourful test framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-1.7.0.tbz
sha256=812bacdb34b45e88995e07d7306bdab2f72479ef1996637f1d5d1f41667902df
sha512=4ae1ba318949ec9db8b87bc8072632a02f0e4003a95ab21e474f5c34c3b5bde867b0194a2d0ea7d9fc4580c70a30ca39287d33a8c134acc7611902f79c7b7ce8

Description

Alcotest exposes simple interface to perform unit tests. It exposes a simple TESTABLE module type, a check function to assert test predicates and a run function to perform a list of unit -> unit test callbacks.

Alcotest provides a quiet and colorful output where only faulty runs are fully displayed at the end of the run (with the full logs ready to inspect), with a simple (yet expressive) query language to select the tests to run.

Added to opam-repository:

README

A lightweight and colourful test framework.


Alcotest exposes a simple interface to perform unit tests. It exposes a simple TESTABLE module type, a check function to assert test predicates and a run function to perform a list of unit -> unit test callbacks.

Alcotest provides a quiet and colorful output where only faulty runs are fully displayed at the end of the run (with the full logs ready to inspect), with a simple (yet expressive) query language to select the tests to run. See the manpage for details.

The API documentation can be found here. For information on contributing to Alcotest, see CONTRIBUTING.md.

OCaml-CI Build Status Alcotest Documentation


Examples

A simple example (taken from examples/simple.ml):

Generated by the following test suite specification:

(* Build with `ocamlbuild -pkg alcotest simple.byte` *)

(* A module with functions to test *)
module To_test = struct
  let lowercase = String.lowercase_ascii
  let capitalize = String.capitalize_ascii
  let str_concat = String.concat ""
  let list_concat = List.append
end

(* The tests *)
let test_lowercase () =
  Alcotest.(check string) "same string" "hello!" (To_test.lowercase "hELLO!")

let test_capitalize () =
  Alcotest.(check string) "same string" "World." (To_test.capitalize "world.")

let test_str_concat () =
  Alcotest.(check string) "same string" "foobar" (To_test.str_concat ["foo"; "bar"])

let test_list_concat () =
  Alcotest.(check (list int)) "same lists" [1; 2; 3] (To_test.list_concat [1] [2; 3])

(* Run it *)
let () =
  let open Alcotest in
  run "Utils" [
      "string-case", [
          test_case "Lower case"     `Quick test_lowercase;
          test_case "Capitalization" `Quick test_capitalize;
        ];
      "string-concat", [ test_case "String mashing" `Quick test_str_concat  ];
      "list-concat",   [ test_case "List mashing"   `Slow  test_list_concat ];
    ]

The result is a self-contained binary which displays the test results. Use dune exec examples/simple.exe -- --help to see the runtime options.

Here's an example of a of failing test suite:

By default, only the first failing test log is printed to the console (and all test logs are captured on disk). Pass --show-errors to print all error messages.

Using Alcotest with opam and Dune

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

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

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

$ dune runtest

Selecting tests to execute

You can filter which tests to run by supplying a regular expression matching the names of the tests to execute, or by passing a regular expression and a comma-separated list of test numbers (or ranges of test numbers, e.g. 2,4..9):

$ ./simple.native test '.*concat*'
Testing Utils.
[SKIP]     string-case            0   Lower case.
[SKIP]     string-case            1   Capitalization.
[OK]       string-concat          0   String mashing.
[OK]       list-concat            0   List mashing.
The full test results are available in `_build/_tests`.
Test Successful in 0.000s. 2 tests run.

$ ./simple.native test 'string-case' '1..3'
Testing Utils.
[SKIP]     string-case            0   Lower case.
[OK]       string-case            1   Capitalization.
[SKIP]     string-concat          0   String mashing.
[SKIP]     list-concat            0   List mashing.
The full test results are available in `_build/_tests`.
Test Successful in 0.000s. 1 test run.

Note that you cannot filter by test case name (i.e. Lower case or Capitalization), you must filter by test name & number instead.

See the examples directory for more examples.

Quick and Slow tests

In general you should use `Quick tests: tests that are ran on any invocations of the test suite. You should only use `Slow tests for stress tests that are ran only on occasion (typically before a release or after a major change). These slow tests can be suppressed by passing the -q flag on the command line, e.g.:

$ ./test.exe -q # run only the quick tests
$ ./test.exe    # run quick and slow tests

Passing custom options to the tests

In most cases, the base tests are unit -> unit functions. However, it is also possible to pass an extra option to all the test functions by using 'a -> unit, where 'a is the type of the extra parameter.

In order to do this, you need to specify how this extra parameter is read on the command-line, by providing a Cmdliner term for command-line arguments which explains how to parse and serialize values of type 'a (note: do not use positional arguments, only optional arguments are supported).

For instance:

let test_nice i = Alcotest.(check int) "Is it a nice integer?" i 42

let int =
  let doc = "What is your preferred number?" in
  Cmdliner.Arg.(required & opt (some int) None & info ["n"] ~doc ~docv:"NUM")

let () =
  Alcotest.run_with_args "foo" int [
    "all", ["nice", `Quick, test_nice]
  ]

Will generate test.exe such that:

$ test.exe test
test.exe: required option -n is missing

$ test.exe test -n 42
Testing foo.
[OK]                all          0   int.

Lwt

Alcotest provides an Alcotest_lwt module that you could use to wrap Lwt test cases. The basic idea is that instead of providing a test function in the form unit -> unit, you provide one with the type unit -> unit Lwt.t and alcotest-lwt calls Lwt_main.run for you.

However, there are a couple of extra features:

  • If an async exception occurs, it will cancel your test case for you and fail it (rather than exiting the process).
  • You get given a switch, which will be turned off when the test case finishes (or fails). You can use that to free up any resources.

For instance:

let free () = print_endline "freeing all resources"; Lwt.return ()

let test_lwt switch () =
  Lwt_switch.add_hook (Some switch) free;
  Lwt.async (fun () -> failwith "All is broken");
  Lwt_unix.sleep 10.

let () =
  Lwt_main.run @@ Alcotest_lwt.run "foo" [
    "all", [
      Alcotest_lwt.test_case "one" `Quick test_lwt
    ]
  ]

Will generate:

$ test.exe
Testing foo.
[ERROR]             all          0   one.
-- all.000 [one.] Failed --
in _build/_tests/all.000.output:
freeing all resources
[failure] All is broken

Comparison with other testing frameworks

The README is pretty clear about that:

Alcotest is the only testing framework using colors!

More seriously, Alcotest is similar to ounit but it fixes a few of the problems found in that library:

  • Alcotest has a nicer output, it is easier to see what failed and what succeeded and to read the log outputs of the failed tests;
  • Alcotest uses combinators to define pretty-printers and comparators between the things to test.

Other nice tools doing different kind of testing also exist:

  • qcheck does random generation and property testing (e.g. Quick Check);
  • crowbar and bun are similar to qcheck, but use compiler-directed randomness, i.e. they take advantage of the AFL support the OCaml compiler;
  • ppx_inline_tests allows to write tests in the same file as your source-code; they will be run only in a special mode of compilation.

Dependencies (9)

  1. ocaml-syntax-shims
  2. uutf >= "1.0.1"
  3. stdlib-shims
  4. re >= "1.7.2"
  5. cmdliner >= "1.1.0"
  6. astring
  7. fmt >= "0.8.7"
  8. ocaml >= "4.05.0"
  9. dune >= "3.0"

Dev Dependencies (2)

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

Optional Dependencies

None

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

Conflicts (1)

  1. result < "1.5"

Build status

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