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