alcotest
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. emile
  157. encore
  158. eqaf >= "0.5"
  159. equinoxe
  160. equinoxe-cohttp
  161. equinoxe-hlc
  162. eris
  163. eris-lwt
  164. ezgzip
  165. ezjsonm >= "0.4.2"
  166. ezjsonm-lwt
  167. FPauth
  168. FPauth-core
  169. FPauth-responses
  170. FPauth-strategies
  171. faraday != "0.2.0"
  172. farfadet
  173. fat-filesystem >= "0.12.0"
  174. ff
  175. ff-pbt
  176. flex-array
  177. fsevents-lwt
  178. functoria >= "2.2.0"
  179. functoria-runtime >= "2.2.0" & < "3.0.1" | = "3.1.2"
  180. geojson
  181. geoml >= "0.1.1"
  182. git = "1.4.10" | = "1.5.0" | >= "1.5.2" & != "1.10.0"
  183. git-cohttp
  184. git-cohttp-mirage
  185. git-cohttp-unix
  186. git-mirage
  187. git-unix >= "1.10.0" & != "2.1.0"
  188. gitlab-unix
  189. glicko2
  190. gmap >= "0.3.0"
  191. gobba
  192. graphql
  193. graphql-async
  194. graphql-cohttp >= "0.13.0"
  195. graphql-lwt
  196. graphql_parser != "0.11.0"
  197. graphql_ppx >= "0.7.1"
  198. h1_parser
  199. h2
  200. hacl
  201. hacl-star >= "0.6.0"
  202. hacl_func
  203. hacl_x25519 >= "0.2.0"
  204. hkdf
  205. hockmd
  206. http
  207. http-multipart-formdata < "2.0.0"
  208. httpaf >= "0.2.0"
  209. hvsock
  210. icalendar >= "0.1.4"
  211. imagelib >= "20200929"
  212. index
  213. inferno >= "20220603"
  214. influxdb-async
  215. influxdb-lwt
  216. inquire < "0.2.0"
  217. interval-map
  218. iomux
  219. irmin < "0.8.0" | >= "0.9.6" & != "0.11.1" & < "1.0.0" | >= "2.0.0" & != "2.3.0"
  220. irmin-bench >= "2.7.0"
  221. irmin-chunk < "1.3.0" | >= "2.3.0"
  222. irmin-cli
  223. irmin-containers
  224. irmin-fs < "1.3.0" | >= "2.3.0"
  225. irmin-git < "2.0.0" | >= "2.3.0"
  226. irmin-graphql >= "2.3.0"
  227. irmin-http < "2.0.0"
  228. irmin-mem < "1.3.0" | >= "2.3.0"
  229. irmin-pack >= "2.4.0" & != "2.6.1"
  230. irmin-pack-tools
  231. irmin-test >= "2.2.0" & < "3.4.0"
  232. irmin-tezos
  233. irmin-tezos-utils
  234. irmin-unix >= "1.0.0" & < "1.3.3" | >= "2.4.0" & != "2.6.1"
  235. irmin-watcher != "0.3.0"
  236. jekyll-format
  237. jerboa
  238. jitsu
  239. jose
  240. json-data-encoding >= "0.9"
  241. json_decoder
  242. jsonxt
  243. junit_alcotest
  244. jwto
  245. ke >= "0.2"
  246. kkmarkdown
  247. kmt
  248. lambda-runtime
  249. lambda_streams
  250. lambda_streams_async
  251. lambdapi >= "2.0.0"
  252. lambdoc >= "1.0-beta4"
  253. ledgerwallet-tezos >= "0.2.1"
  254. letters
  255. lmdb >= "1.0"
  256. lockfree >= "0.3.0"
  257. logical
  258. logtk >= "1.6"
  259. lp
  260. lp-glpk
  261. lp-glpk-js
  262. lp-gurobi
  263. lru
  264. lt-code
  265. luv
  266. mbr-format >= "1.0.0"
  267. mdx >= "1.6.0"
  268. mec
  269. mechaml = "1.0.0" | >= "1.2.1"
  270. merge-queues >= "0.2.0"
  271. merge-ropes >= "0.2.0"
  272. metrics
  273. mimic
  274. minicaml = "0.3.1" | >= "0.4"
  275. mirage >= "4.0.0~beta1"
  276. mirage-block-partition
  277. mirage-block-ramdisk = "0.3"
  278. mirage-channel >= "4.0.0"
  279. mirage-channel-lwt < "3.1.0"
  280. mirage-crypto-ec != "0.9.2"
  281. mirage-flow >= "1.0.2" & < "1.2.0"
  282. mirage-flow-unix != "1.3.0" & < "1.5.0" | = "2.0.0" | >= "3.0.0"
  283. mirage-fs-mem
  284. mirage-fs-unix >= "1.2.0" & < "1.4.1"
  285. mirage-kv >= "2.0.0"
  286. mirage-kv-mem
  287. mirage-logs >= "0.3.0"
  288. mirage-nat
  289. mirage-net-unix >= "2.3.0"
  290. mirage-runtime >= "4.0.0~beta1"
  291. mirage-tc
  292. mirage-vnetif-stack
  293. mmdb < "0.3.0"
  294. mnd
  295. monocypher
  296. mrmime >= "0.2.0"
  297. mrt-format
  298. msgpck >= "1.6"
  299. mssql >= "2.0.3"
  300. multibase
  301. multihash
  302. multihash-digestif
  303. multipart-form-data
  304. multipart_form
  305. multipart_form-lwt
  306. named-pipe
  307. nanoid
  308. nbd >= "4.0.3"
  309. nbd-tool
  310. nloge
  311. nocoiner
  312. non_empty_list
  313. OCADml >= "0.6.0"
  314. ocaml-r >= "0.4.0"
  315. ocaml-version >= "3.1.0"
  316. ocamlformat >= "0.13.0" & != "0.19.0~4.13preview" & < "0.25.1"
  317. ocamlformat-lib
  318. ocamlformat-rpc
  319. ocamline
  320. ocluster
  321. odoc >= "1.4.0" & < "2.1.0"
  322. oidc
  323. opam-0install
  324. opam-compiler
  325. opam-file-format >= "2.1.1"
  326. opium >= "0.15.0"
  327. opium-graphql
  328. opium-testing
  329. opium_kernel
  330. orewa
  331. orgeat
  332. osnap < "0.3.0"
  333. osx-acl
  334. osx-attr
  335. osx-cf
  336. osx-fsevents
  337. osx-membership
  338. osx-mount
  339. osx-xattr
  340. otoggl
  341. owl >= "0.6.0" & != "0.9.0" & != "1.0.0"
  342. owl-base < "0.5.0"
  343. owl-ode >= "0.1.0" & != "0.2.0"
  344. owl-symbolic
  345. passmaker
  346. patch
  347. pbkdf
  348. pecu >= "0.2"
  349. pf-qubes
  350. pg_query >= "0.9.6"
  351. pgx >= "1.0"
  352. pgx_unix >= "1.0"
  353. pgx_value_core
  354. pgx_value_ptime
  355. phylogenetics
  356. piaf
  357. piece_rope
  358. plebeia >= "2.0.0"
  359. polyglot
  360. polynomial
  361. ppx_blob >= "0.3.0"
  362. ppx_catch
  363. ppx_deriving_cmdliner
  364. ppx_deriving_qcheck
  365. ppx_deriving_rpc
  366. ppx_deriving_yaml
  367. ppx_graphql >= "0.2.0"
  368. ppx_inline_alcotest
  369. ppx_map
  370. ppx_parser
  371. ppx_protocol_conv >= "5.0.0"
  372. ppx_protocol_conv_json >= "5.0.0"
  373. ppx_protocol_conv_jsonm >= "5.0.0"
  374. ppx_protocol_conv_msgpack >= "5.0.0"
  375. ppx_protocol_conv_xml_light >= "5.0.0"
  376. ppx_protocol_conv_xmlm
  377. ppx_protocol_conv_yaml >= "5.0.0"
  378. ppx_repr
  379. ppx_subliner
  380. ppx_units
  381. ppx_yojson >= "1.1.0"
  382. pratter
  383. prbnmcn-ucb1 >= "0.0.2"
  384. prc
  385. preface
  386. prettym
  387. proc-smaps
  388. progress
  389. prom
  390. prometheus < "1.2"
  391. prometheus-app
  392. protocell
  393. protocol-9p >= "0.3" & < "0.11.0" | >= "0.11.2"
  394. protocol-9p-unix
  395. psq
  396. pyast
  397. qcheck >= "0.18"
  398. qcheck-alcotest
  399. qcheck-core >= "0.18"
  400. radis
  401. randii
  402. reason-standard
  403. reparse >= "2.0.0" & < "3.0.0"
  404. reparse-unix < "2.1.0"
  405. resp
  406. resp-unix >= "0.10.0"
  407. resto >= "0.9"
  408. rfc1951 < "1.0.0"
  409. routes < "2.0.0"
  410. rpc >= "7.1.0"
  411. rpclib >= "7.1.0"
  412. rpclib-async
  413. rpclib-lwt >= "7.1.0"
  414. rubytt
  415. salsa20
  416. salsa20-core
  417. sanddb >= "0.2"
  418. scaml >= "1.5.0"
  419. scrypt-kdf
  420. secp256k1 >= "0.4.1"
  421. secp256k1-internal
  422. sendmail
  423. sendmail-lwt
  424. sendmsg
  425. seqes
  426. session-cookie
  427. session-cookie-async
  428. session-cookie-lwt
  429. sihl < "0.2.0"
  430. sihl-type
  431. slug
  432. smol
  433. smol-helpers
  434. sodium-fmt
  435. solidity-alcotest
  436. spdx_licenses
  437. spectrum >= "0.2.0"
  438. spin >= "0.7.0"
  439. squirrel
  440. ssh-agent
  441. stramon-lib
  442. syslog-rfc5424
  443. tar-mirage >= "2.4.0"
  444. tcpip >= "2.4.2" & < "3.4.2" | >= "6.2.0"
  445. tdigest < "2.1.0"
  446. terminal
  447. terminal_size >= "0.1.1"
  448. terminus
  449. terminus-cohttp
  450. terminus-hlc
  451. textmate-language >= "0.3.0"
  452. textrazor
  453. tezos-base-test-helpers
  454. tezos-bls12-381-polynomial
  455. tezos-client-base
  456. tezos-client-base-unix >= "13.0"
  457. tezos-crypto >= "8.0" & < "9.0" | >= "11.0" & < "12.0" | >= "13.0"
  458. tezos-crypto-dal
  459. tezos-error-monad >= "12.0"
  460. tezos-event-logging-test-helpers
  461. tezos-lmdb
  462. tezos-micheline = "13.0"
  463. tezos-plompiler = "0.1.3"
  464. tezos-plonk = "0.1.3"
  465. tezos-shell-services >= "13.0"
  466. tezos-signer-backends >= "8.0" & < "13.0"
  467. tezos-stdlib >= "8.0" & < "12.0" | >= "13.0"
  468. tezos-test-helpers
  469. tezos-version >= "13.0"
  470. tezos-webassembly-interpreter
  471. tftp
  472. timedesc
  473. timere
  474. timmy
  475. timmy-jsoo
  476. timmy-unix
  477. tls >= "0.12.0"
  478. toc
  479. topojson
  480. topojsone
  481. traits
  482. transept
  483. twostep
  484. typebeat
  485. tyre >= "0.4"
  486. tyxml >= "4.0.0"
  487. tyxml-jsx
  488. tyxml-ppx >= "4.3.0"
  489. tyxml-syntax
  490. uecc
  491. ulid
  492. unix-dirent
  493. unix-errno >= "0.3.0"
  494. unix-fcntl >= "0.3.0"
  495. unix-sys-resource
  496. unix-sys-stat
  497. unix-time
  498. unstrctrd
  499. uring < "0.4"
  500. user-agent-parser
  501. uspf
  502. uspf-lwt
  503. uspf-unix
  504. validator
  505. vercel
  506. vpnkit
  507. websocketaf
  508. x509 >= "0.7.0"
  509. xapi-rrd >= "1.8.2"
  510. xapi-stdext-date
  511. xapi-stdext-encodings
  512. xapi-stdext-std >= "4.16.0"
  513. yaml
  514. yaml-sexp
  515. yojson >= "1.6.0"
  516. yuscii >= "0.3.0"
  517. yuujinchou >= "1.0.0"
  518. zar
  519. zlist < "0.4.0"

Conflicts (1)

  1. result < "1.5"