package alcotest

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.0.tar.gz
sha256=993e13ecf7cd563c75cc7bd3a477db441cc71db8e1f5cd72d4ef16d7b22bb9e9
md5=afe1aaaef34fe5b6c11aeef32bd25fcb

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: 29 Jun 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. 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.1.2"
  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. ezjsonm >= "0.4.2" & < "1.3.0"
  127. ezjsonm-lwt < "1.3.0"
  128. FPauth
  129. FPauth-core
  130. FPauth-responses
  131. FPauth-strategies
  132. farfadet
  133. fat-filesystem >= "0.12.0"
  134. ff
  135. ff-pbt
  136. fiat-p256
  137. flex-array
  138. fsevents-lwt
  139. functoria >= "2.2.0"
  140. functoria-runtime >= "2.2.0" & != "3.0.1" & < "4.0.0~beta1"
  141. geojson
  142. geoml >= "0.1.1"
  143. git = "1.4.10" | = "1.5.0" | >= "1.5.2" & != "1.10.0" & < "2.0.0"
  144. git-mirage < "2.0.0"
  145. git-unix >= "1.10.0" & < "2.0.0"
  146. gitlab-unix
  147. gmap >= "0.3.0"
  148. gpt
  149. graphql
  150. graphql-async
  151. graphql-cohttp >= "0.13.0"
  152. graphql-lwt
  153. graphql_parser < "0.9.0"
  154. graphql_ppx >= "0.7.1"
  155. h1_parser
  156. h2
  157. hacl_func
  158. hacl_x25519 >= "0.2.0"
  159. highlexer
  160. hkdf
  161. hockmd
  162. html_of_jsx
  163. http
  164. http-multipart-formdata < "2.0.0"
  165. httpaf >= "0.2.0"
  166. httpun
  167. hvsock
  168. icalendar
  169. imagelib >= "20200929"
  170. index
  171. inferno >= "20220603"
  172. influxdb-async
  173. influxdb-lwt
  174. inquire < "0.2.0"
  175. interval-map
  176. iomux
  177. irmin < "0.8.0" | >= "1.0.0" & < "1.2.0" | >= "2.0.0" & < "2.3.0"
  178. irmin-bench >= "2.7.0"
  179. irmin-chunk >= "2.3.0"
  180. irmin-cli
  181. irmin-containers
  182. irmin-fs < "2.0.0" | >= "2.3.0"
  183. irmin-git < "2.0.0" | >= "2.3.0"
  184. irmin-http < "2.0.0"
  185. irmin-mem < "1.3.0"
  186. irmin-pack >= "2.4.0" & != "2.6.1"
  187. irmin-pack-tools
  188. irmin-tezos
  189. irmin-tezos-utils
  190. irmin-unix >= "1.0.0" & < "1.3.3" | >= "2.4.0" & != "2.6.1"
  191. irmin-watcher
  192. jekyll-format >= "0.2.0"
  193. jerboa
  194. jitsu
  195. jose
  196. json-data-encoding >= "0.9"
  197. json_decoder
  198. jsonxt
  199. junit_alcotest >= "2.0.2"
  200. jwto
  201. ke >= "0.2"
  202. kkmarkdown
  203. lambda-runtime
  204. lambdapi >= "2.0.0"
  205. lambdoc >= "1.0-beta4"
  206. ledgerwallet-tezos >= "0.2.1" & < "0.4.0"
  207. lmdb >= "1.0"
  208. logical
  209. logtk >= "1.5.1"
  210. lp
  211. lp-glpk
  212. lp-glpk-js
  213. lp-gurobi
  214. lru
  215. lt-code
  216. mbr-format >= "1.0.0"
  217. mdx >= "1.6.0"
  218. mec
  219. mechaml < "1.0.0"
  220. merge-queues >= "0.2.0"
  221. merge-ropes >= "0.2.0"
  222. metrics
  223. mirage >= "4.0.0~beta1"
  224. mirage-block-partition < "0.2.0"
  225. mirage-block-ramdisk >= "0.3"
  226. mirage-channel >= "4.0.0"
  227. mirage-channel-lwt
  228. mirage-crypto-ec < "0.11.0"
  229. mirage-flow >= "1.0.2" & < "1.2.0"
  230. mirage-flow-unix
  231. mirage-fs-mem
  232. mirage-fs-unix >= "1.2.0" & < "1.3.0"
  233. mirage-kv >= "2.0.0" & < "6.1.0"
  234. mirage-kv-mem
  235. mirage-logs >= "0.3.0"
  236. mirage-nat
  237. mirage-net-fd
  238. mirage-net-flow
  239. mirage-net-unix >= "2.3.0"
  240. mirage-runtime >= "4.0.0~beta1" & < "4.5.0"
  241. mirage-tc
  242. mjson
  243. mnd
  244. monocypher
  245. mrmime
  246. mrt-format
  247. multibase
  248. multihash
  249. multihash-digestif
  250. multipart-form-data
  251. multipart_form
  252. multipart_form-eio
  253. multipart_form-lwt
  254. named-pipe
  255. nanoid
  256. nbd >= "4.0.3"
  257. nbd-tool
  258. nloge
  259. nocoiner
  260. non_empty_list
  261. OCADml >= "0.6.0"
  262. ocaml-r >= "0.5.0"
  263. ocaml-version >= "3.1.0"
  264. ocamlformat >= "0.13.0" & != "0.19.0~4.13preview" & < "0.25.1"
  265. ocamlformat-rpc < "removed"
  266. ocamline
  267. ohex
  268. oidc
  269. opam-0install
  270. opam-file-format >= "2.1.1"
  271. opentelemetry >= "0.6"
  272. opentelemetry-client-cohttp-lwt >= "0.6"
  273. opentelemetry-client-ocurl >= "0.6"
  274. opentelemetry-cohttp-lwt >= "0.6"
  275. opentelemetry-lwt >= "0.6"
  276. opium >= "0.15.0"
  277. opium-graphql
  278. opium-testing
  279. opium_kernel
  280. osx-acl
  281. osx-attr
  282. osx-cf
  283. osx-fsevents
  284. osx-membership
  285. osx-mount
  286. osx-xattr
  287. otoggl
  288. owl >= "0.6.0" & != "0.9.0" & != "1.0.0"
  289. owl-base < "0.5.0"
  290. owl-ode >= "0.1.0" & != "0.2.0"
  291. owl-symbolic
  292. passmaker
  293. patch < "2.0.0"
  294. pbkdf < "0.3.0"
  295. pecu >= "0.2"
  296. pf-qubes
  297. pg_query >= "0.9.6"
  298. phylogenetics
  299. piaf
  300. polyglot
  301. polynomial
  302. ppx_blob >= "0.3.0"
  303. ppx_deriving_cmdliner
  304. ppx_deriving_rpc
  305. ppx_deriving_yaml
  306. ppx_parser
  307. ppx_subliner
  308. ppx_units
  309. ppx_yojson >= "1.1.0"
  310. pratter
  311. prc
  312. preface
  313. pretty_expressive
  314. prettym
  315. proc-smaps
  316. producer < "0.2.0"
  317. prometheus < "1.2"
  318. prometheus-app
  319. protocell
  320. protocol-9p >= "0.3" & < "0.11.0" | >= "0.11.2"
  321. protocol-9p-unix
  322. psq
  323. qcheck >= "0.18"
  324. qcheck-core >= "0.18"
  325. quickjs
  326. radis
  327. randii
  328. reason-standard
  329. reparse >= "2.0.0" & < "3.0.0"
  330. reparse-unix < "2.1.0"
  331. resp < "0.10.0"
  332. resp-unix
  333. rfc1951 < "1.0.0"
  334. routes < "2.0.0"
  335. rpc >= "5.9.0"
  336. rpclib
  337. rpclib-async
  338. rpclib-lwt
  339. rubytt
  340. SZXX >= "4.0.0"
  341. salsa20
  342. salsa20-core
  343. sanddb >= "0.2"
  344. scaml >= "1.5.0"
  345. scrypt-kdf
  346. secp256k1-internal
  347. semver >= "0.2.1"
  348. sendmail
  349. sendmail-lwt
  350. sendmsg
  351. server-reason-react
  352. session-cookie
  353. session-cookie-async
  354. session-cookie-lwt
  355. sherlodoc
  356. slug
  357. sodium-fmt
  358. spin >= "0.6.0"
  359. squirrel
  360. ssh-agent
  361. ssl >= "0.6.0"
  362. stramon-lib
  363. styled-ppx
  364. tcpip >= "2.4.2" & < "3.0.0"
  365. tdigest < "2.1.0"
  366. terminal_size >= "0.1.1"
  367. terminus
  368. terminus-cohttp
  369. terminus-hlc
  370. terml
  371. textrazor
  372. tezos-base-test-helpers < "13.0"
  373. tezos-client-base < "12.0"
  374. tezos-test-helpers < "11.0"
  375. tftp
  376. timedesc
  377. timere
  378. tls >= "0.12.0"
  379. toc
  380. topojson
  381. topojsone
  382. transept
  383. type_eq
  384. type_id
  385. typebeat
  386. typeid >= "1.0.1"
  387. tyxml >= "4.0.0"
  388. tyxml-jsx
  389. tyxml-ppx >= "4.3.0"
  390. tyxml-syntax
  391. ulid
  392. universal-portal
  393. unix-dirent
  394. unix-errno >= "0.3.0"
  395. unix-fcntl >= "0.3.0"
  396. unix-sys-resource
  397. unix-sys-stat
  398. unix-time
  399. unstrctrd
  400. uspf
  401. uspf-lwt
  402. uspf-unix
  403. utop >= "2.13.0"
  404. validate
  405. validator
  406. vercel
  407. vpnkit
  408. wcwidth
  409. websocketaf
  410. x509 >= "0.7.0"
  411. xapi-rrd >= "1.8.2"
  412. xapi-stdext-date
  413. xapi-stdext-encodings < "4.20.0"
  414. xapi-stdext-std >= "4.16.0"
  415. yaml < "3.2.0"
  416. yaml-sexp
  417. yocaml
  418. yocaml_yaml
  419. yuscii >= "0.2.0"
  420. zar
  421. zed >= "3.2.2"

Conflicts

None

OCaml

Innovation. Community. Security.