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.2.tar.gz
sha256=86e721af4c633c4ba01b72edcb5436d85f7d5f7a1d2a0fd1beaeab273660e5fe
md5=95abf50e38e0e364952aaeba23112f13

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: 10 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. camlkit
  47. camlkit-base
  48. capnp-rpc < "0.6.0"
  49. capnp-rpc-lwt < "0.3"
  50. carray
  51. carton
  52. cborl
  53. ccss >= "1.6"
  54. cf-lwt
  55. chacha
  56. channel
  57. charrua-client
  58. charrua-client-lwt
  59. charrua-client-mirage < "0.11.0"
  60. checked_oint < "0.1.1"
  61. checkseum >= "0.0.3"
  62. cid
  63. clarity-lang
  64. class_group_vdf
  65. cohttp >= "0.17.0"
  66. cohttp-curl-async
  67. cohttp-curl-lwt
  68. cohttp-eio >= "6.0.0~beta2"
  69. colombe
  70. color
  71. conan < "0.0.3"
  72. conan-cli < "0.0.3"
  73. conan-database < "0.0.3"
  74. conan-lwt < "0.0.3"
  75. conan-unix < "0.0.3"
  76. conduit = "3.0.0"
  77. conex < "0.10.0"
  78. conex-mirage-crypto
  79. conex-nocrypto
  80. cookie
  81. cow >= "2.2.0" & < "2.5.0"
  82. css
  83. css-parser
  84. cstruct >= "3.3.0"
  85. cstruct-sexp
  86. ctypes-zarith
  87. cuid
  88. curly
  89. current_incr
  90. data-encoding < "1.0.0"
  91. datakit-bridge-github >= "0.11.0"
  92. datakit-ci
  93. datakit-client-git != "0.12.0"
  94. decompress >= "0.8" & < "1.5.3"
  95. depyt
  96. digestif < "0.2" | >= "0.7"
  97. dispatch = "0.4.1"
  98. dkim
  99. dkim-bin
  100. dkim-mirage
  101. dns >= "4.0.0"
  102. dns-cli
  103. dns-client >= "4.6.0"
  104. dns-forward < "0.9.0"
  105. dns-forward-lwt-unix
  106. dns-resolver
  107. dns-server
  108. dns-tsig
  109. dnssd
  110. dnssec
  111. docfd >= "2.2.0"
  112. dog < "0.2.1"
  113. domain-name
  114. dream
  115. dream-pure
  116. duff
  117. dune-release >= "1.0.0"
  118. emile
  119. encore
  120. eqaf >= "0.5"
  121. equinoxe
  122. equinoxe-cohttp
  123. equinoxe-hlc
  124. eris
  125. eris-lwt
  126. FPauth
  127. FPauth-core
  128. FPauth-responses
  129. FPauth-strategies
  130. farfadet
  131. fat-filesystem >= "0.12.0"
  132. ff
  133. ff-pbt
  134. fiat-p256
  135. flex-array
  136. fsevents-lwt
  137. functoria >= "2.2.0"
  138. functoria-runtime >= "2.2.0" & != "3.0.1" & < "4.0.0~beta1"
  139. geojson
  140. geoml >= "0.1.1"
  141. git = "1.3.0" | = "1.4.10" | >= "1.5.0" & != "1.10.0" & < "2.0.0"
  142. git-mirage < "2.0.0"
  143. git-unix >= "1.10.0" & < "2.0.0"
  144. gitlab-unix
  145. gmap >= "0.3.0"
  146. gpt
  147. graphql
  148. graphql-async
  149. graphql-cohttp >= "0.13.0"
  150. graphql-lwt
  151. graphql_parser < "0.9.0"
  152. graphql_ppx >= "0.7.1"
  153. h1_parser
  154. h2
  155. hacl_func
  156. hacl_x25519 >= "0.2.0"
  157. highlexer
  158. hkdf
  159. hockmd
  160. html_of_jsx
  161. http
  162. http-multipart-formdata < "2.0.0"
  163. httpaf >= "0.2.0"
  164. httpun
  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.0" & < "0.9.6" | >= "1.0.0" & < "1.2.0" | >= "2.0.0" & < "2.3.0"
  175. irmin-bench >= "2.7.0"
  176. irmin-chunk >= "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 < "1.3.0"
  183. irmin-pack >= "2.4.0" & != "2.6.1"
  184. irmin-pack-tools
  185. irmin-tezos
  186. irmin-tezos-utils
  187. irmin-unix >= "1.0.0" & < "1.3.3" | >= "2.4.0" & != "2.6.1"
  188. irmin-watcher
  189. jekyll-format >= "0.2.0"
  190. jerboa
  191. jitsu
  192. jose
  193. json-data-encoding >= "0.9"
  194. json_decoder
  195. jsonxt
  196. junit_alcotest >= "2.0.2"
  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" & < "0.4.0"
  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. mbr-format >= "1.0.0"
  214. mdx >= "1.6.0"
  215. mec
  216. mechaml < "1.0.0"
  217. merge-queues >= "0.2.0"
  218. merge-ropes >= "0.2.0"
  219. metrics
  220. mirage >= "4.0.0~beta1"
  221. mirage-block-partition < "0.2.0"
  222. mirage-block-ramdisk >= "0.3"
  223. mirage-channel >= "4.0.0"
  224. mirage-channel-lwt
  225. mirage-crypto-ec < "0.11.0"
  226. mirage-flow < "1.2.0"
  227. mirage-flow-unix
  228. mirage-fs-mem
  229. mirage-fs-unix >= "1.2.0" & < "1.3.0"
  230. mirage-kv >= "2.0.0" & < "6.1.0"
  231. mirage-kv-mem
  232. mirage-logs >= "0.3.0"
  233. mirage-nat
  234. mirage-net-fd
  235. mirage-net-flow
  236. mirage-net-unix >= "2.3.0"
  237. mirage-runtime >= "4.0.0~beta1" & < "4.5.0"
  238. mirage-tc
  239. mjson
  240. mnd
  241. monocypher
  242. mrmime
  243. mrt-format
  244. multibase
  245. multihash
  246. multihash-digestif
  247. multipart-form-data
  248. multipart_form
  249. multipart_form-eio
  250. multipart_form-lwt
  251. nanoid
  252. nbd >= "4.0.3"
  253. nbd-tool
  254. nloge
  255. nocoiner
  256. non_empty_list
  257. OCADml >= "0.6.0"
  258. ocaml-r >= "0.5.0"
  259. ocaml-version >= "3.1.0"
  260. ocamlformat >= "0.13.0" & != "0.19.0~4.13preview" & < "0.25.1"
  261. ocamlformat-rpc < "removed"
  262. ocamline
  263. ohex
  264. oidc
  265. opam-0install
  266. opam-file-format >= "2.1.1"
  267. opentelemetry >= "0.6"
  268. opentelemetry-client-cohttp-lwt >= "0.6"
  269. opentelemetry-client-ocurl >= "0.6"
  270. opentelemetry-cohttp-lwt >= "0.6"
  271. opentelemetry-lwt >= "0.6"
  272. opium >= "0.15.0"
  273. opium-graphql
  274. opium-testing
  275. opium_kernel
  276. osx-acl
  277. osx-attr
  278. osx-cf
  279. osx-fsevents
  280. osx-membership
  281. osx-mount
  282. osx-xattr
  283. otoggl
  284. owl >= "0.6.0" & != "0.9.0" & != "1.0.0"
  285. owl-base < "0.5.0"
  286. owl-ode >= "0.1.0" & != "0.2.0"
  287. owl-symbolic
  288. passmaker
  289. patch < "2.0.0"
  290. pbkdf < "0.3.0"
  291. pecu >= "0.2"
  292. pf-qubes
  293. pg_query >= "0.9.6"
  294. phylogenetics
  295. piaf
  296. polyglot
  297. polynomial
  298. ppx_blob >= "0.3.0"
  299. ppx_deriving_cmdliner
  300. ppx_deriving_rpc
  301. ppx_deriving_yaml
  302. ppx_parser
  303. ppx_subliner
  304. ppx_units
  305. ppx_yojson >= "1.1.0"
  306. pratter
  307. prc
  308. preface
  309. pretty_expressive
  310. prettym
  311. proc-smaps
  312. producer < "0.2.0"
  313. prometheus < "1.2"
  314. prometheus-app
  315. protocell
  316. psq
  317. qcheck >= "0.18"
  318. qcheck-core >= "0.18"
  319. quickjs
  320. radis
  321. randii
  322. reason-standard
  323. reparse >= "2.0.0" & < "3.0.0"
  324. reparse-unix < "2.1.0"
  325. resp < "0.10.0"
  326. resp-unix
  327. rfc1951 < "1.0.0"
  328. routes < "2.0.0"
  329. rpc >= "5.9.0"
  330. rpclib
  331. rpclib-async
  332. rpclib-lwt
  333. rubytt
  334. SZXX >= "4.0.0"
  335. salsa20
  336. salsa20-core
  337. sanddb >= "0.2"
  338. scaml >= "1.5.0"
  339. scrypt-kdf
  340. secp256k1-internal
  341. semver >= "0.2.1"
  342. sendmail
  343. sendmail-lwt
  344. sendmsg
  345. server-reason-react
  346. session-cookie
  347. session-cookie-async
  348. session-cookie-lwt
  349. sherlodoc
  350. slug
  351. sodium-fmt
  352. spin >= "0.6.0"
  353. squirrel
  354. ssh-agent
  355. ssl >= "0.6.0"
  356. stramon-lib
  357. styled-ppx
  358. tcpip >= "2.4.2" & < "3.0.0"
  359. tdigest < "2.1.0"
  360. terminal_size >= "0.1.1"
  361. terminus
  362. terminus-cohttp
  363. terminus-hlc
  364. terml
  365. textrazor
  366. tezos-base-test-helpers < "13.0"
  367. tezos-client-base < "12.0"
  368. tezos-test-helpers < "11.0"
  369. tftp
  370. timedesc
  371. timere
  372. tls >= "0.12.0"
  373. toc
  374. topojson
  375. topojsone
  376. transept
  377. type_eq
  378. type_id
  379. typebeat
  380. typeid >= "1.0.1"
  381. tyxml >= "4.0.0"
  382. tyxml-jsx
  383. tyxml-ppx >= "4.3.0"
  384. tyxml-syntax
  385. ulid
  386. universal-portal
  387. unix-dirent
  388. unix-errno >= "0.3.0"
  389. unix-fcntl >= "0.3.0"
  390. unix-sys-resource
  391. unix-sys-stat
  392. unix-time
  393. unstrctrd
  394. uspf
  395. uspf-lwt
  396. uspf-unix
  397. utop >= "2.13.0"
  398. validate
  399. validator
  400. vercel
  401. vpnkit
  402. wcwidth
  403. websocketaf
  404. x509 >= "0.7.0"
  405. xapi-rrd >= "1.8.2"
  406. xapi-stdext-date
  407. xapi-stdext-encodings < "4.20.0"
  408. xapi-stdext-std >= "4.16.0"
  409. yaml < "3.2.0"
  410. yaml-sexp
  411. yocaml
  412. yocaml_yaml
  413. yuscii >= "0.2.0"
  414. zar
  415. zed >= "3.2.2"

Conflicts

None

OCaml

Innovation. Community. Security.