package alcotest

  1. Overview
  2. No Docs
Alcotest is a lightweight and colourful test framework, based on OUnit.

Install

Authors

Maintainers

Sources

0.3.3.tar.gz
md5=18e0363a5dee713c315af648c7cfde37

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"

Dev Dependencies

None

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

Conflicts

None