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"

  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. mdx
  317. mec
  318. mechaml >= "1.2.1"
  319. melange >= "7.0.0-51"
  320. melange-edn >= "0.5.0"
  321. menhir-lsp >= "0.3.3"
  322. menhirformat
  323. merlin = "4.17.1-501"
  324. merlin-lib >= "4.17.1-501"
  325. metrics
  326. mfat
  327. mfetch
  328. miaou-core
  329. middleware
  330. mimic
  331. minicaml = "0.3.1" | >= "0.4"
  332. mirage >= "4.0.0"
  333. mirage-block-partition
  334. mirage-block-ramdisk
  335. mirage-channel >= "4.0.1"
  336. mirage-crypto-ec
  337. mirage-flow-unix
  338. mirage-kv >= "2.0.0"
  339. mirage-kv-mem
  340. mirage-kv-unix >= "3.0.0"
  341. mirage-logs
  342. mirage-nat
  343. mirage-net-unix
  344. mirage-runtime < "4.7.0"
  345. mirage-tc
  346. mjson
  347. mldsa
  348. mlgpx
  349. mlkem
  350. mmdb < "0.3.0"
  351. mnd
  352. mqtt
  353. mrmime >= "0.2.0"
  354. msgpck >= "1.6"
  355. mssql
  356. multibase
  357. multihash
  358. multihash-digestif
  359. multipart-form-data
  360. multipart_form
  361. multipart_form-eio
  362. multipart_form-lwt
  363. multipart_form-miou
  364. named-pipe
  365. nanoid
  366. nbd >= "4.0.3"
  367. nbd-tool
  368. neo4j_bolt
  369. neodriver
  370. neodriver_core
  371. neodriver_eio
  372. neodriver_packstream
  373. nloge
  374. nocoiner
  375. noise
  376. non_empty_list
  377. nx < "1.0.0~alpha3"
  378. nx-datasets
  379. nx-text
  380. OCADml >= "0.6.0"
  381. obatcher
  382. object
  383. obs-eio
  384. obs-prometheus-eio
  385. ocaml-ai-sdk
  386. ocaml-index < "5.4.1-503"
  387. ocaml-r >= "0.4.0"
  388. ocaml-version >= "3.5.0"
  389. ocamlformat < "0.25.1"
  390. ocamlformat-lib
  391. ocamlformat-mlx-lib
  392. ocamlformat-rpc < "removed"
  393. ocamline
  394. ocgtk
  395. ochre
  396. ochre-cli
  397. ocluster < "0.3.0"
  398. ocue
  399. odoc < "2.1.1"
  400. oenv >= "0.1.0"
  401. ohex
  402. oidc
  403. opam-0install
  404. opam-0install-cudf >= "0.5.0"
  405. opam-compiler
  406. opam-file-format >= "2.1.1"
  407. opam-repomin
  408. opencage
  409. opentelemetry >= "0.6"
  410. opentelemetry-client
  411. opentelemetry-client-cohttp-eio
  412. opentelemetry-client-cohttp-lwt >= "0.6"
  413. opentelemetry-client-ocurl >= "0.6"
  414. opentelemetry-client-ocurl-lwt
  415. opentelemetry-cohttp-lwt >= "0.6"
  416. opentelemetry-logs
  417. opentelemetry-lwt >= "0.6"
  418. opium
  419. opium-graphql
  420. opium-testing
  421. opium_kernel
  422. orewa
  423. orgeat
  424. ortac-core
  425. ortac-wrapper
  426. osnap < "0.3.0"
  427. osx-acl
  428. osx-attr
  429. osx-cf
  430. osx-fsevents
  431. osx-keychain
  432. osx-membership
  433. osx-mount
  434. osx-xattr
  435. otoggl
  436. owl >= "0.7.0" & != "0.9.0" & != "1.0.0"
  437. owl-base < "0.5.0"
  438. owl-ode >= "0.1.0" & != "0.2.0"
  439. owl-symbolic
  440. ozstd
  441. parseff
  442. passe
  443. passmaker
  444. patch < "3.0.0~alpha2"
  445. pbkdf
  446. pecu >= "0.2"
  447. pf-qubes
  448. pg_query >= "0.9.6"
  449. pgx
  450. pgx_unix
  451. pgx_value_core
  452. pgx_value_ptime
  453. phylogenetics
  454. piaf
  455. plebeia >= "2.0.0"
  456. polyglot
  457. polynomial
  458. ppx_bin_there
  459. ppx_blob >= "0.3.0"
  460. ppx_deriving_cmdliner
  461. ppx_deriving_ezjsonm
  462. ppx_deriving_qcheck
  463. ppx_deriving_rpc
  464. ppx_deriving_yaml
  465. ppx_deriving_yamlx
  466. ppx_ezlua
  467. ppx_inline_alcotest
  468. ppx_marshal
  469. ppx_parser
  470. ppx_protocol_conv
  471. ppx_protocol_conv_json
  472. ppx_protocol_conv_jsonm
  473. ppx_protocol_conv_msgpack
  474. ppx_protocol_conv_xml_light
  475. ppx_protocol_conv_xmlm
  476. ppx_protocol_conv_yaml
  477. ppx_repr
  478. ppx_subliner
  479. ppx_units
  480. ppx_yojson >= "1.1.0"
  481. pratter
  482. prbnmcn-ucb1 >= "0.0.2"
  483. prc
  484. preface
  485. pretty_expressive
  486. prettym
  487. privatus-analytics
  488. privatus-analytics-dream
  489. proc-smaps
  490. producer < "0.2.0"
  491. progress
  492. prom
  493. prometheus < "1.2"
  494. prometheus-app
  495. prometheus-eio
  496. prometheus-lwt
  497. prometheus-reporter
  498. protocell
  499. protocol-9p < "0.11.0" | >= "0.11.2"
  500. protocol-9p-unix
  501. proton
  502. psq
  503. public-suffix
  504. pyast
  505. qcaml
  506. qcheck >= "0.25"
  507. qcheck-alcotest
  508. qcheck-core >= "0.25"
  509. qcow-stream >= "0.13.0"
  510. qcow-tool = "0.13.0"
  511. qcow-types = "0.13.0"
  512. query-json
  513. quickjs
  514. quill < "1.0.0~alpha3"
  515. randii
  516. reason-standard
  517. red-black-tree
  518. reparse >= "2.0.0" & < "3.0.0"
  519. reparse-unix < "2.1.0"
  520. resp
  521. resp-unix >= "0.10.0"
  522. resto >= "0.8"
  523. rfc1951 < "1.0.0"
  524. routes < "2.0.0"
  525. rpc
  526. rpclib
  527. rpclib-async
  528. rpclib-lwt
  529. rpmfile < "0.3.0"
  530. rpmfile-eio
  531. rpmfile-unix
  532. rune < "1.0.0~alpha3"
  533. SZXX >= "4.0.0"
  534. saga
  535. salsa20
  536. salsa20-core
  537. sanddb >= "0.2"
  538. scrypt-kdf
  539. secp256k1 >= "0.4.1"
  540. secp256k1-internal
  541. semver >= "0.2.1"
  542. sendmail
  543. sendmail-lwt
  544. sendmail-miou-unix
  545. sendmail-mirage
  546. sendmsg
  547. seqes
  548. server-reason-react
  549. session-cookie
  550. session-cookie-async
  551. session-cookie-lwt
  552. sha256-cng
  553. shakuhachi
  554. sherlodoc
  555. sihl < "0.2.0"
  556. sihl-type
  557. slhdsa
  558. slug
  559. sm
  560. smaws-clients
  561. smaws-lib
  562. smol
  563. smol-helpers
  564. smtml >= "0.30.0"
  565. sodium-fmt
  566. solidity-alcotest
  567. sosie
  568. soteria
  569. sowilo < "1.0.0~alpha3"
  570. spdx_licenses
  571. spectrum >= "0.2.0"
  572. spectrum_capabilities
  573. spectrum_palette_ppx
  574. spectrum_palettes
  575. spectrum_tools
  576. spin >= "0.7.0"
  577. spurs < "0.1.1"
  578. squirrel
  579. ssh-agent
  580. ssl >= "0.6.0"
  581. stem
  582. stramon-lib
  583. stringx
  584. styled-ppx
  585. swapfs
  586. symex >= "0.2"
  587. symphony-orchestrator-tui
  588. synchronizer >= "0.2"
  589. syslog-rfc5424 < "0.2"
  590. talon < "1.0.0~alpha3"
  591. tar-eio >= "3.5.0"
  592. tcpip
  593. tdigest < "2.1.0"
  594. term-indexing
  595. term-tools
  596. termaid
  597. terminal
  598. terminal_size >= "0.1.1"
  599. terminus
  600. terminus-cohttp
  601. terminus-hlc
  602. terml
  603. testo
  604. testo-lwt
  605. textmate-language >= "0.3.0"
  606. textrazor
  607. timedesc
  608. timere
  609. timere-parse >= "0.0.7"
  610. timmy
  611. timmy-jsoo
  612. timmy-lwt
  613. timmy-unix
  614. tiny_appkits
  615. tiny_languages
  616. tiny_libs
  617. tinybox
  618. tls >= "0.12.8"
  619. toc
  620. topojson
  621. topojsone
  622. traits
  623. transept
  624. tsort >= "2.2.0"
  625. tw
  626. twostep
  627. type_eq
  628. type_id
  629. typeid >= "1.0.1"
  630. tyre >= "0.4"
  631. tyxml >= "4.2.0"
  632. tyxml-jsx
  633. tyxml-ppx >= "4.3.0"
  634. tyxml-syntax
  635. ucharset
  636. uecc
  637. ulid
  638. universal-portal
  639. unix-dirent
  640. unix-errno
  641. unix-sys-resource
  642. unix-sys-stat
  643. unix-time
  644. unstrctrd
  645. uring < "0.4"
  646. user-agent-parser
  647. uspf
  648. uspf-lwt
  649. uspf-mirage
  650. uspf-unix
  651. utcp
  652. utop >= "2.13.0"
  653. validate
  654. validator
  655. vercel
  656. verdict
  657. vhd-format-lwt >= "0.13.0"
  658. wayland >= "2.0"
  659. wcwidth
  660. websocketaf
  661. wire
  662. x509 >= "0.7.0"
  663. xapi-rrd
  664. xapi-stdext-date
  665. xapi-stdext-encodings
  666. xapi-stdext-std >= "4.16.0"
  667. xgboost
  668. yaml
  669. yaml-sexp
  670. yocaml
  671. yocaml_syndication >= "2.0.0"
  672. yocaml_yaml < "2.0.0"
  673. yojson >= "1.6.0"
  674. yojson-five
  675. yuscii >= "0.3.0"
  676. yuujinchou >= "1.0.0"
  677. zar
  678. zed >= "3.2.2"
  679. 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 7cdc698. 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