package alcotest

  1. Overview
  2. Docs
Alcotest is a lightweight and colourful test framework.

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.2.tar.gz
md5=ba829a6717ae9a208eac9821d15b0ba4

Description

Alcotest exposes simple interface to perform unit tests. It exposes a simple TESTABLE module type, a check function to assert test predicates and a run function to perform a list of unit -> unit test callbacks.

Alcotest provides 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: 03 Jul 2015

Dependencies (5)

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

Conflicts

None