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

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