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"
  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-lwt
  246. nanoid
  247. nbd >= "4.0.3"
  248. nbd-tool
  249. nloge
  250. nocoiner
  251. non_empty_list
  252. OCADml >= "0.6.0"
  253. ocaml-r >= "0.5.0"
  254. ocaml-version >= "3.1.0"
  255. ocamlformat >= "0.13.0" & != "0.19.0~4.13preview" & < "0.25.1"
  256. ocamlformat-rpc < "removed"
  257. ocamline
  258. ohex
  259. oidc
  260. opam-0install
  261. opam-file-format >= "2.1.1"
  262. opentelemetry >= "0.6"
  263. opentelemetry-client-cohttp-lwt >= "0.6"
  264. opentelemetry-client-ocurl >= "0.6"
  265. opentelemetry-cohttp-lwt >= "0.6"
  266. opentelemetry-lwt >= "0.6"
  267. opium >= "0.15.0"
  268. opium-graphql
  269. opium-testing
  270. opium_kernel
  271. osx-acl
  272. osx-attr
  273. osx-cf
  274. osx-fsevents
  275. osx-membership
  276. osx-mount
  277. osx-xattr
  278. otoggl
  279. owl >= "0.6.0" & != "0.9.0" & != "1.0.0"
  280. owl-base < "0.5.0"
  281. owl-ode >= "0.1.0" & != "0.2.0"
  282. owl-symbolic
  283. passmaker
  284. patch
  285. pbkdf < "0.3.0"
  286. pecu >= "0.2"
  287. pf-qubes
  288. pg_query >= "0.9.6"
  289. phylogenetics
  290. piaf
  291. polyglot
  292. polynomial
  293. ppx_blob >= "0.3.0"
  294. ppx_deriving_cmdliner
  295. ppx_deriving_rpc
  296. ppx_deriving_yaml
  297. ppx_parser
  298. ppx_subliner
  299. ppx_units
  300. ppx_yojson >= "1.1.0"
  301. pratter
  302. prc
  303. preface
  304. pretty_expressive
  305. prettym
  306. proc-smaps
  307. producer < "0.2.0"
  308. prometheus < "1.2"
  309. prometheus-app
  310. protocell
  311. psq
  312. qcheck >= "0.18"
  313. qcheck-core >= "0.18"
  314. quickjs
  315. radis
  316. randii
  317. reason-standard
  318. reparse >= "2.0.0" & < "3.0.0"
  319. reparse-unix < "2.1.0"
  320. resp < "0.10.0"
  321. resp-unix
  322. rfc1951 < "1.0.0"
  323. routes < "2.0.0"
  324. rpc >= "5.9.0"
  325. rpclib
  326. rpclib-async
  327. rpclib-lwt
  328. rubytt
  329. SZXX >= "4.0.0"
  330. salsa20
  331. salsa20-core
  332. sanddb >= "0.2"
  333. scaml >= "1.5.0"
  334. scrypt-kdf
  335. secp256k1-internal
  336. semver >= "0.2.1"
  337. sendmail
  338. sendmail-lwt
  339. sendmsg
  340. server-reason-react
  341. session-cookie
  342. session-cookie-async
  343. session-cookie-lwt
  344. sherlodoc
  345. slug
  346. sodium-fmt
  347. spin >= "0.6.0"
  348. squirrel
  349. ssh-agent
  350. ssl >= "0.6.0"
  351. stramon-lib
  352. tcpip >= "2.4.2" & < "3.0.0"
  353. tdigest < "2.1.0"
  354. terminal_size >= "0.1.1"
  355. terminus
  356. terminus-cohttp
  357. terminus-hlc
  358. textrazor
  359. tezos-base-test-helpers < "13.0"
  360. tezos-client-base < "12.0"
  361. tezos-test-helpers < "11.0"
  362. tftp
  363. timedesc
  364. timere
  365. tls >= "0.12.0"
  366. toc
  367. topojson
  368. topojsone
  369. transept
  370. type_eq
  371. type_id
  372. typebeat
  373. typeid >= "1.0.1"
  374. tyxml >= "4.0.0"
  375. tyxml-jsx
  376. tyxml-ppx >= "4.3.0"
  377. tyxml-syntax
  378. ulid
  379. unix-dirent
  380. unix-errno >= "0.3.0"
  381. unix-fcntl >= "0.3.0"
  382. unix-sys-resource
  383. unix-sys-stat
  384. unix-time
  385. unstrctrd
  386. uspf
  387. uspf-lwt
  388. uspf-unix
  389. utop >= "2.13.0"
  390. validate
  391. validator
  392. vercel
  393. vpnkit
  394. websocketaf
  395. x509 >= "0.7.0"
  396. xapi-rrd >= "1.8.2"
  397. xapi-stdext-date
  398. xapi-stdext-encodings < "4.20.0"
  399. xapi-stdext-std >= "4.16.0"
  400. yaml < "3.2.0"
  401. yaml-sexp
  402. yocaml
  403. yocaml_yaml
  404. yuscii >= "0.2.0"
  405. zar
  406. zed >= "3.2.2"

Conflicts

None