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

Conflicts

None