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: 17 Oct 2018

Dependencies (7)

  1. uuidm
  2. cmdliner
  3. result < "1.5"
  4. astring
  5. fmt >= "0.8.0"
  6. jbuilder >= "1.0+beta10"
  7. ocaml >= "4.02.3"

Reverse Dependencies (405)

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

Conflicts

    None
Alcotest is a lightweight and colourful test framework.

Install

Authors

Maintainers

Sources

alcotest-0.8.4.tbz
md5=c940f89a2bb2e23d3f1422ce61d1396b