package alcotest

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

Install

Dune Dependency

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

Conflicts

None