package alcotest

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.11.tar.gz
sha256=f3f3525f3e5949a95f53389d804f774fde4d30064d8a494350287b3600b21c07
md5=5ded92bf3646ce37f81bc2c2bef9333e

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: 11 May 2016

Dependencies (8)

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

Conflicts

None

OCaml

Innovation. Community. Security.