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-js-1.5.0.tbz
sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c
sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45

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][docs]. For information on contributing to Alcotest, see CONTRIBUTING.md.

OCaml-CI Build Status docs


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.

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 folder 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 prefered 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 qcheck does random generation and property testing (e.g. Quick Check)
  • crowbar and bun are similar to qcheck, but use compiler-directed randomness, e.g. it takes 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.0.0" & < "2.0.0"
  6. astring
  7. fmt >= "0.8.7"
  8. ocaml >= "4.03.0"
  9. dune >= "2.8"

Dev Dependencies (2)

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

Optional Dependencies

None

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