Alcotest is a lightweight and colourful test framework

Install

Authors

Maintainers

Sources

alcotest-mirage-1.4.0.tbz
sha256=b1aaccfb2d651c902592c04953e2619169c91f797cf4f04a7dda2cab09b93ec1
sha512=8a13d5d4c8c77f115903e6b8e58160c6e6ec27870440bd38a674e9406f57f1eff299e65f006fd77728015d1a8f0ae30a714fe47e035824950a71ebfdff2cf3c9

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: 16 Apr 2021

Dependencies (9)

  1. uutf >= "1.0.0"
  2. stdlib-shims
  3. re >= "1.7.2"
  4. uuidm
  5. cmdliner >= "1.0.3"
  6. astring
  7. fmt >= "0.8.7"
  8. ocaml >= "4.03.0"
  9. dune >= "2.2"

Dev Dependencies (1)

  1. cmdliner with-test & < "1.1.0"

Used by (475)

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

Conflicts

    None