package alcotest

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.4.tar.gz
sha256=855e957a55a0d23ee15ae34e4992adc400c2505f3064d093d83ac7afdede87cd
md5=88eaa8caa8c973723fc87b63af246931

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: 31 Jul 2015

Dependencies (5)

  1. ocamlbuild build
  2. cmdliner
  3. stringext
  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. 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_parser
  308. ppx_subliner
  309. ppx_units
  310. ppx_yojson >= "1.1.0"
  311. pratter
  312. prc
  313. preface
  314. pretty_expressive
  315. prettym
  316. proc-smaps
  317. producer < "0.2.0"
  318. prometheus < "1.2"
  319. prometheus-app
  320. protocell
  321. protocol-9p >= "0.3" & < "0.11.0" | >= "0.11.2"
  322. protocol-9p-unix
  323. psq
  324. qcheck >= "0.18"
  325. qcheck-core >= "0.18"
  326. quickjs
  327. radis
  328. randii
  329. reason-standard
  330. reparse >= "2.0.0" & < "3.0.0"
  331. reparse-unix < "2.1.0"
  332. resp < "0.10.0"
  333. resp-unix
  334. rfc1951 < "1.0.0"
  335. routes < "2.0.0"
  336. rpc >= "5.9.0"
  337. rpclib
  338. rpclib-async
  339. rpclib-lwt
  340. rubytt
  341. SZXX >= "4.0.0"
  342. salsa20
  343. salsa20-core
  344. sanddb >= "0.2"
  345. scaml >= "1.5.0"
  346. scrypt-kdf
  347. secp256k1-internal
  348. semver >= "0.2.1"
  349. sendmail
  350. sendmail-lwt
  351. sendmsg
  352. server-reason-react
  353. session-cookie
  354. session-cookie-async
  355. session-cookie-lwt
  356. sherlodoc
  357. slug
  358. sodium-fmt
  359. spin >= "0.6.0"
  360. squirrel
  361. ssh-agent
  362. ssl >= "0.6.0"
  363. stramon-lib
  364. styled-ppx
  365. tcpip >= "2.4.2" & < "3.0.0"
  366. tdigest < "2.1.0"
  367. terminal_size >= "0.1.1"
  368. terminus
  369. terminus-cohttp
  370. terminus-hlc
  371. terml
  372. textrazor
  373. tezos-base-test-helpers < "13.0"
  374. tezos-client-base < "12.0"
  375. tezos-test-helpers < "11.0"
  376. tftp
  377. timedesc
  378. timere
  379. tls >= "0.12.0"
  380. toc
  381. topojson
  382. topojsone
  383. transept
  384. type_eq
  385. type_id
  386. typebeat
  387. typeid >= "1.0.1"
  388. tyxml >= "4.0.0"
  389. tyxml-jsx
  390. tyxml-ppx >= "4.3.0"
  391. tyxml-syntax
  392. ulid
  393. universal-portal
  394. unix-dirent
  395. unix-errno >= "0.3.0"
  396. unix-fcntl >= "0.3.0"
  397. unix-sys-resource
  398. unix-sys-stat
  399. unix-time
  400. unstrctrd
  401. uspf
  402. uspf-lwt
  403. uspf-unix
  404. utop >= "2.13.0"
  405. validate
  406. validator
  407. vercel
  408. vpnkit
  409. wcwidth
  410. websocketaf
  411. x509 >= "0.7.0"
  412. xapi-rrd >= "1.8.2"
  413. xapi-stdext-date
  414. xapi-stdext-encodings < "4.20.0"
  415. xapi-stdext-std >= "4.16.0"
  416. yaml < "3.2.0"
  417. yaml-sexp
  418. yocaml
  419. yocaml_yaml
  420. yuscii >= "0.2.0"
  421. zar
  422. zed >= "3.2.2"

Conflicts

None

OCaml

Innovation. Community. Security.