Alcotest is a lightweight and colourful test framework, based on OUnit.

Description

Alcotest exposes a much more restricted interface than OUnit, as you can only pass to Alcotest.run a tree of callbacks of depth 2, and the callbacks are unit -> unit functions that you can build using the usual OUnit.assert_* functions or any other means (including Quickcheck-like test generators).

This limitation enables Alcotest to provide 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: 22 Jun 2015

Dependencies (6)

  1. ocamlbuild build
  2. cmdliner
  3. re
  4. ounit >= "1.1.2"
  5. ocamlfind
  6. ocaml >= "4.00.1" & < "4.06.0"

Reverse Dependencies (365)

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

Conflicts

    None

Install

Authors

Maintainers

Sources

0.3.3.tar.gz
md5=18e0363a5dee713c315af648c7cfde37