alcotest
  1. Overview
  2. Docs
Alcotest is a lightweight and colourful test framework

Install

Authors

Maintainers

Sources

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

Description

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

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

Published: 27 Feb 2023

Dependencies (9)

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

Dev Dependencies (1)

  1. odoc with-doc

  1. ahrocksdb
  2. albatross >= "1.5.0"
  3. alcotest-async < "1.0.0" | >= "1.7.0"
  4. alcotest-js >= "1.7.0"
  5. alcotest-lwt < "1.0.0" | >= "1.7.0"
  6. alcotest-mirage >= "1.7.0"
  7. alg_structs_qcheck
  8. algaeff
  9. angstrom >= "0.7.0"
  10. ansi >= "0.6.0"
  11. anycache >= "0.7.4"
  12. anycache-async
  13. anycache-lwt
  14. archetype >= "1.4.2"
  15. archi
  16. arp != "2.3.1"
  17. arp-mirage < "2.0.0"
  18. art
  19. asak >= "0.2"
  20. asli >= "0.2.0"
  21. asn1-combinators >= "0.2.2"
  22. atd >= "2.3.3"
  23. atdgen >= "2.10.0"
  24. atdpy
  25. atdts
  26. base32
  27. base64 >= "2.1.2" & < "3.2.0" | >= "3.4.0"
  28. bastet
  29. bastet_lwt
  30. bech32
  31. bigarray-overlap
  32. bigstringaf
  33. bitlib
  34. blake2
  35. bloomf
  36. bls12-381 < "0.4.1" | >= "3.0.0"
  37. bls12-381-hash
  38. bls12-381-js >= "0.4.2"
  39. bls12-381-js-gen >= "0.4.2"
  40. bls12-381-legacy
  41. bls12-381-signature
  42. bls12-381-unix
  43. builder-web
  44. bulletml
  45. bytebuffer
  46. ca-certs
  47. ca-certs-nss
  48. cactus
  49. caldav
  50. calendar >= "3.0.0"
  51. callipyge
  52. camlix
  53. capnp-rpc
  54. capnp-rpc-lwt < "0.3"
  55. capnp-rpc-mirage >= "0.9.0"
  56. capnp-rpc-unix >= "0.9.0"
  57. caqti >= "1.7.0"
  58. caqti-async >= "1.7.0"
  59. caqti-driver-mariadb >= "1.7.0"
  60. caqti-driver-postgresql >= "1.7.0"
  61. caqti-driver-sqlite3 >= "1.7.0"
  62. caqti-lwt >= "1.7.0"
  63. carray
  64. carton
  65. carton-git
  66. carton-lwt >= "0.4.1"
  67. catala >= "0.6.0"
  68. cborl
  69. ccss >= "1.6"
  70. cf-lwt
  71. chacha
  72. chamelon
  73. chamelon-unix
  74. channel
  75. charrua-client
  76. charrua-client-lwt
  77. charrua-client-mirage < "0.11.0"
  78. charrua-server >= "1.4.1"
  79. checkseum >= "0.0.3"
  80. cid
  81. clarity-lang
  82. class_group_vdf
  83. cohttp >= "0.17.0"
  84. cohttp-curl-async
  85. cohttp-curl-lwt
  86. colombe >= "0.2.0"
  87. color
  88. commons
  89. conan
  90. conan-cli
  91. conan-database
  92. conan-lwt
  93. conan-unix
  94. conduit = "3.0.0"
  95. conex < "0.10.0"
  96. conex-mirage-crypto
  97. conex-nocrypto
  98. conformist
  99. cookie
  100. cow >= "2.2.0"
  101. css
  102. css-parser
  103. cstruct >= "3.3.0"
  104. cstruct-sexp
  105. ctypes-zarith
  106. cuid
  107. curly
  108. current >= "0.4"
  109. current-albatross-deployer
  110. current_git >= "0.6.4"
  111. current_incr
  112. cwe_checker
  113. data-encoding
  114. datakit >= "0.12.0"
  115. datakit-bridge-github >= "0.12.0"
  116. datakit-ci
  117. datakit-client-git >= "0.12.0"
  118. dates_calc
  119. decimal >= "0.3.0"
  120. decompress >= "0.8"
  121. depyt
  122. digestif >= "0.8.1"
  123. dirsp-exchange-kbb2017
  124. dirsp-proscript-mirage
  125. dirsp-ps2ocaml
  126. dispatch >= "0.4.1"
  127. dkim
  128. dkim-bin
  129. dkim-mirage
  130. dkml-dune-dsl-show
  131. dkml-install
  132. dkml-install-installer
  133. dkml-install-runner
  134. dkml-package-console
  135. dns >= "4.0.0"
  136. dns-cli
  137. dns-client >= "4.6.0"
  138. dns-forward < "0.9.0"
  139. dns-forward-lwt-unix
  140. dns-resolver
  141. dns-server
  142. dns-tsig
  143. dnssd
  144. dnssec
  145. dog < "0.2.1"
  146. domain-name
  147. dream
  148. dream-htmx
  149. dream-pure
  150. dscheck >= "0.1.1"
  151. duff
  152. dune-release >= "1.0.0"
  153. duration >= "0.1.1"
  154. eio
  155. eio_linux
  156. eio_windows
  157. emile
  158. encore
  159. eqaf >= "0.5"
  160. equinoxe
  161. equinoxe-cohttp
  162. equinoxe-hlc
  163. eris
  164. eris-lwt
  165. ezgzip
  166. ezjsonm >= "0.4.2"
  167. ezjsonm-lwt
  168. FPauth
  169. FPauth-core
  170. FPauth-responses
  171. FPauth-strategies
  172. faraday != "0.2.0"
  173. farfadet
  174. fat-filesystem >= "0.12.0"
  175. ff
  176. ff-pbt
  177. flex-array
  178. fsevents-lwt
  179. functoria >= "2.2.0"
  180. functoria-runtime >= "2.2.0" & < "3.0.1" | = "3.1.2"
  181. geojson
  182. geoml >= "0.1.1"
  183. git = "1.4.10" | = "1.5.0" | >= "1.5.2" & != "1.10.0"
  184. git-cohttp
  185. git-cohttp-mirage
  186. git-cohttp-unix
  187. git-mirage
  188. git-unix >= "1.10.0" & != "2.1.0"
  189. gitlab-unix
  190. glicko2
  191. gmap >= "0.3.0"
  192. gobba
  193. graphql
  194. graphql-async
  195. graphql-cohttp >= "0.13.0"
  196. graphql-lwt
  197. graphql_parser != "0.11.0"
  198. graphql_ppx >= "0.7.1"
  199. h1_parser
  200. h2
  201. hacl
  202. hacl-star >= "0.6.0"
  203. hacl_func
  204. hacl_x25519 >= "0.2.0"
  205. hkdf
  206. hockmd
  207. http
  208. http-multipart-formdata < "2.0.0"
  209. httpaf >= "0.2.0"
  210. hvsock
  211. icalendar >= "0.1.4"
  212. imagelib >= "20200929"
  213. index
  214. inferno >= "20220603"
  215. influxdb-async
  216. influxdb-lwt
  217. inquire < "0.2.0"
  218. interval-map
  219. iomux
  220. irmin < "0.8.0" | >= "0.9.6" & != "0.11.1" & < "1.0.0" | >= "2.0.0" & != "2.3.0"
  221. irmin-bench >= "2.7.0"
  222. irmin-chunk < "1.3.0" | >= "2.3.0"
  223. irmin-cli
  224. irmin-containers
  225. irmin-fs < "1.3.0" | >= "2.3.0"
  226. irmin-git < "2.0.0" | >= "2.3.0"
  227. irmin-graphql >= "2.3.0"
  228. irmin-http < "2.0.0"
  229. irmin-mem < "1.3.0" | >= "2.3.0"
  230. irmin-pack >= "2.4.0" & != "2.6.1"
  231. irmin-pack-tools
  232. irmin-test >= "2.2.0" & < "3.4.0"
  233. irmin-tezos
  234. irmin-tezos-utils
  235. irmin-unix >= "1.0.0" & < "1.3.3" | >= "2.4.0" & != "2.6.1"
  236. irmin-watcher != "0.3.0"
  237. jekyll-format
  238. jerboa
  239. jitsu
  240. jose
  241. json-data-encoding >= "0.9"
  242. json_decoder
  243. jsonxt
  244. junit_alcotest
  245. jwto
  246. ke >= "0.2"
  247. kkmarkdown
  248. kmt
  249. lambda-runtime
  250. lambda_streams
  251. lambda_streams_async
  252. lambdapi >= "2.0.0"
  253. lambdoc >= "1.0-beta4"
  254. ledgerwallet-tezos >= "0.2.1"
  255. letters
  256. lmdb >= "1.0"
  257. lockfree >= "0.3.0"
  258. logical
  259. logtk >= "1.6"
  260. lp
  261. lp-glpk
  262. lp-glpk-js
  263. lp-gurobi
  264. lru
  265. lt-code
  266. luv
  267. mbr-format >= "1.0.0"
  268. mdx >= "1.6.0"
  269. mec
  270. mechaml = "1.0.0" | >= "1.2.1"
  271. merge-queues >= "0.2.0"
  272. merge-ropes >= "0.2.0"
  273. metrics
  274. mimic
  275. minicaml = "0.3.1" | >= "0.4"
  276. mirage >= "4.0.0~beta1"
  277. mirage-block-partition
  278. mirage-block-ramdisk = "0.3"
  279. mirage-channel >= "4.0.0"
  280. mirage-channel-lwt < "3.1.0"
  281. mirage-crypto-ec != "0.9.2"
  282. mirage-flow >= "1.0.2" & < "1.2.0"
  283. mirage-flow-unix != "1.3.0" & < "1.5.0" | = "2.0.0" | >= "3.0.0"
  284. mirage-fs-mem
  285. mirage-fs-unix >= "1.2.0" & < "1.4.1"
  286. mirage-kv >= "2.0.0"
  287. mirage-kv-mem
  288. mirage-logs >= "0.3.0"
  289. mirage-nat
  290. mirage-net-unix >= "2.3.0"
  291. mirage-runtime >= "4.0.0~beta1"
  292. mirage-tc
  293. mirage-vnetif-stack
  294. mmdb < "0.3.0"
  295. mnd
  296. monocypher
  297. mrmime >= "0.2.0"
  298. mrt-format
  299. msgpck >= "1.6"
  300. mssql >= "2.0.3"
  301. multibase
  302. multihash
  303. multihash-digestif
  304. multipart-form-data
  305. multipart_form
  306. multipart_form-lwt
  307. named-pipe
  308. nanoid
  309. nbd >= "4.0.3"
  310. nbd-tool
  311. nloge
  312. nocoiner
  313. non_empty_list
  314. OCADml >= "0.6.0"
  315. ocaml-r >= "0.4.0"
  316. ocaml-version >= "3.1.0"
  317. ocamlformat >= "0.13.0" & != "0.19.0~4.13preview" & < "0.25.1"
  318. ocamlformat-lib
  319. ocamlformat-rpc < "removed"
  320. ocamline
  321. ocluster
  322. odoc >= "1.4.0" & < "2.1.0"
  323. oidc
  324. opam-0install
  325. opam-compiler
  326. opam-file-format >= "2.1.1"
  327. opium >= "0.15.0"
  328. opium-graphql
  329. opium-testing
  330. opium_kernel
  331. orewa
  332. orgeat
  333. osnap < "0.3.0"
  334. osx-acl
  335. osx-attr
  336. osx-cf
  337. osx-fsevents
  338. osx-membership
  339. osx-mount
  340. osx-xattr
  341. otoggl
  342. owl >= "0.6.0" & != "0.9.0" & != "1.0.0"
  343. owl-base < "0.5.0"
  344. owl-ode >= "0.1.0" & != "0.2.0"
  345. owl-symbolic
  346. passmaker
  347. patch
  348. pbkdf
  349. pecu >= "0.2"
  350. pf-qubes
  351. pg_query >= "0.9.6"
  352. pgx >= "1.0"
  353. pgx_unix >= "1.0"
  354. pgx_value_core
  355. pgx_value_ptime
  356. phylogenetics
  357. piaf
  358. piece_rope
  359. plebeia >= "2.0.0"
  360. polyglot
  361. polynomial
  362. ppx_blob >= "0.3.0"
  363. ppx_catch
  364. ppx_deriving_cmdliner
  365. ppx_deriving_qcheck
  366. ppx_deriving_rpc
  367. ppx_deriving_yaml
  368. ppx_graphql >= "0.2.0"
  369. ppx_inline_alcotest
  370. ppx_map
  371. ppx_parser
  372. ppx_protocol_conv >= "5.0.0"
  373. ppx_protocol_conv_json >= "5.0.0"
  374. ppx_protocol_conv_jsonm >= "5.0.0"
  375. ppx_protocol_conv_msgpack >= "5.0.0"
  376. ppx_protocol_conv_xml_light >= "5.0.0"
  377. ppx_protocol_conv_xmlm
  378. ppx_protocol_conv_yaml >= "5.0.0"
  379. ppx_repr
  380. ppx_subliner
  381. ppx_units
  382. ppx_yojson >= "1.1.0"
  383. pratter
  384. prbnmcn-ucb1 >= "0.0.2"
  385. prc
  386. preface
  387. prettym
  388. proc-smaps
  389. progress
  390. prom
  391. prometheus < "1.2"
  392. prometheus-app
  393. protocell
  394. protocol-9p >= "0.3" & < "0.11.0" | >= "0.11.2"
  395. protocol-9p-unix
  396. psq
  397. pyast
  398. qcheck >= "0.18"
  399. qcheck-alcotest
  400. qcheck-core >= "0.18"
  401. radis
  402. randii
  403. reason-standard
  404. reparse >= "2.0.0" & < "3.0.0"
  405. reparse-unix < "2.1.0"
  406. resp
  407. resp-unix >= "0.10.0"
  408. resto >= "0.9"
  409. rfc1951 < "1.0.0"
  410. routes < "2.0.0"
  411. rpc >= "7.1.0"
  412. rpclib >= "7.1.0"
  413. rpclib-async
  414. rpclib-lwt >= "7.1.0"
  415. rubytt
  416. salsa20
  417. salsa20-core
  418. sanddb >= "0.2"
  419. scaml >= "1.5.0"
  420. scrypt-kdf
  421. secp256k1 >= "0.4.1"
  422. secp256k1-internal
  423. sendmail
  424. sendmail-lwt
  425. sendmsg
  426. seqes
  427. session-cookie
  428. session-cookie-async
  429. session-cookie-lwt
  430. sihl < "0.2.0"
  431. sihl-type
  432. slug
  433. smol
  434. smol-helpers
  435. sodium-fmt
  436. solidity-alcotest
  437. spdx_licenses
  438. spectrum >= "0.2.0"
  439. spin >= "0.7.0"
  440. squirrel
  441. ssh-agent
  442. ssl >= "0.6.0"
  443. stramon-lib
  444. syslog-rfc5424
  445. tar-mirage >= "2.4.0"
  446. tcpip >= "2.4.2" & < "3.4.2" | >= "6.2.0"
  447. tdigest < "2.1.0"
  448. terminal
  449. terminal_size >= "0.1.1"
  450. terminus
  451. terminus-cohttp
  452. terminus-hlc
  453. textmate-language >= "0.3.0"
  454. textrazor
  455. tezos-base-test-helpers
  456. tezos-bls12-381-polynomial
  457. tezos-client-base
  458. tezos-client-base-unix >= "13.0"
  459. tezos-crypto >= "8.0" & < "9.0" | >= "11.0" & < "12.0" | >= "13.0"
  460. tezos-crypto-dal
  461. tezos-error-monad >= "12.0"
  462. tezos-event-logging-test-helpers
  463. tezos-lmdb
  464. tezos-micheline = "13.0"
  465. tezos-plompiler = "0.1.3"
  466. tezos-plonk = "0.1.3"
  467. tezos-shell-services >= "13.0"
  468. tezos-signer-backends >= "8.0" & < "13.0"
  469. tezos-stdlib >= "8.0" & < "12.0" | >= "13.0"
  470. tezos-test-helpers
  471. tezos-version >= "13.0"
  472. tezos-webassembly-interpreter
  473. tftp
  474. timedesc
  475. timere
  476. timmy
  477. timmy-jsoo
  478. timmy-unix
  479. tls >= "0.12.0"
  480. toc
  481. topojson
  482. topojsone
  483. traits
  484. transept
  485. twostep
  486. typebeat
  487. tyre >= "0.4"
  488. tyxml >= "4.0.0"
  489. tyxml-jsx
  490. tyxml-ppx >= "4.3.0"
  491. tyxml-syntax
  492. uecc
  493. ulid
  494. unix-dirent
  495. unix-errno >= "0.3.0"
  496. unix-fcntl >= "0.3.0"
  497. unix-sys-resource
  498. unix-sys-stat
  499. unix-time
  500. unstrctrd
  501. uring < "0.4"
  502. user-agent-parser
  503. uspf
  504. uspf-lwt
  505. uspf-unix
  506. validator
  507. vercel
  508. vpnkit
  509. websocketaf
  510. x509 >= "0.7.0"
  511. xapi-rrd >= "1.8.2"
  512. xapi-stdext-date
  513. xapi-stdext-encodings
  514. xapi-stdext-std >= "4.16.0"
  515. yaml
  516. yaml-sexp
  517. yojson >= "1.6.0"
  518. yuscii >= "0.3.0"
  519. yuujinchou >= "1.0.0"
  520. zar
  521. zlist < "0.4.0"

Conflicts (1)

  1. result < "1.5"