package alcotest

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

Install

Authors

Maintainers

Sources

alcotest-1.6.0.tbz
sha256=fd00f9668395874ff3b1d7ef566d14efc02fa7dd34123eb25d59355be94b2329
sha512=69a7ef300ba10a9ccb1e25b1cfdb0a0abf9ca976864a52a22f0e1fae1e5d1cbeb99498c086230b839ee9da4d0fd71e63686e126ca42221537f3fdb6f6c5aae95

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: 24 Jun 2022

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 >= "2.8"

Dev Dependencies (1)

  1. odoc with-doc

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

Conflicts (1)

  1. result < "1.5"