package alcotest

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.10.tar.gz
md5=520e78c8dce5f60292847b4067dd4f5a

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 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. checked_oint
  60. checkseum >= "0.0.3"
  61. cid
  62. clarity-lang
  63. class_group_vdf
  64. cohttp >= "0.17.0"
  65. cohttp-curl-async
  66. cohttp-curl-lwt
  67. cohttp-eio >= "6.0.0~beta2"
  68. colombe
  69. color
  70. conan < "0.0.3"
  71. conan-cli < "0.0.3"
  72. conan-database < "0.0.3"
  73. conan-lwt < "0.0.3"
  74. conan-unix < "0.0.3"
  75. conduit = "3.0.0"
  76. conex < "0.10.0"
  77. conex-mirage-crypto
  78. conex-nocrypto
  79. cookie
  80. cow >= "2.2.0" & < "2.5.0"
  81. css
  82. css-parser
  83. cstruct >= "3.3.0"
  84. cstruct-sexp
  85. ctypes-zarith
  86. cuid
  87. curly
  88. current_incr
  89. data-encoding < "1.0.0"
  90. datakit-bridge-github >= "0.11.0"
  91. datakit-ci
  92. datakit-client-git != "0.12.0"
  93. decompress >= "0.8" & < "1.5.3"
  94. depyt
  95. digestif < "0.2" | >= "0.7"
  96. dispatch = "0.4.1"
  97. dkim
  98. dkim-bin
  99. dkim-mirage
  100. dns >= "4.0.0"
  101. dns-cli
  102. dns-client >= "4.6.0"
  103. dns-forward < "0.9.0"
  104. dns-forward-lwt-unix
  105. dns-resolver
  106. dns-server
  107. dns-tsig
  108. dnssd
  109. dnssec
  110. docfd >= "2.2.0"
  111. dog < "0.2.1"
  112. domain-name
  113. dream
  114. dream-pure
  115. duff
  116. dune-release >= "1.0.0"
  117. emile
  118. encore
  119. eqaf >= "0.5"
  120. equinoxe
  121. equinoxe-cohttp
  122. equinoxe-hlc
  123. eris
  124. eris-lwt
  125. ezjsonm >= "0.4.2" & < "1.3.0"
  126. ezjsonm-lwt < "1.3.0"
  127. FPauth
  128. FPauth-core
  129. FPauth-responses
  130. FPauth-strategies
  131. faraday
  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. hvsock
  167. icalendar
  168. imagelib >= "20200929"
  169. index
  170. inferno >= "20220603"
  171. influxdb-async
  172. influxdb-lwt
  173. inquire < "0.2.0"
  174. interval-map
  175. iomux
  176. irmin < "0.8.0" | >= "0.9.6" & != "0.11.1" & < "1.2.0" | >= "2.0.0" & < "2.3.0"
  177. irmin-bench >= "2.7.0"
  178. irmin-chunk < "2.0.0" | >= "2.3.0"
  179. irmin-cli
  180. irmin-containers
  181. irmin-fs < "2.0.0" | >= "2.3.0"
  182. irmin-git < "2.0.0" | >= "2.3.0"
  183. irmin-http < "2.0.0"
  184. irmin-mem < "1.3.0"
  185. irmin-pack >= "2.4.0" & != "2.6.1"
  186. irmin-pack-tools
  187. irmin-tezos
  188. irmin-tezos-utils
  189. irmin-unix >= "1.0.0" & < "1.3.3" | >= "2.4.0" & != "2.6.1"
  190. irmin-watcher
  191. jekyll-format >= "0.2.0"
  192. jerboa
  193. jitsu
  194. jose
  195. json-data-encoding >= "0.9"
  196. json_decoder
  197. jsonxt
  198. junit_alcotest >= "2.0.2"
  199. jwto
  200. ke >= "0.2"
  201. kkmarkdown
  202. lambda-runtime
  203. lambdapi >= "2.0.0"
  204. lambdoc >= "1.0-beta4"
  205. ledgerwallet-tezos >= "0.2.1" & < "0.4.0"
  206. lmdb >= "1.0"
  207. logical
  208. logtk >= "1.5.1"
  209. lp
  210. lp-glpk
  211. lp-glpk-js
  212. lp-gurobi
  213. lru
  214. lt-code
  215. mbr-format >= "1.0.0"
  216. mdx >= "1.6.0"
  217. mec
  218. mechaml < "1.0.0"
  219. merge-queues >= "0.2.0"
  220. merge-ropes >= "0.2.0"
  221. metrics
  222. mirage >= "4.0.0~beta1"
  223. mirage-block-partition < "0.2.0"
  224. mirage-block-ramdisk >= "0.3"
  225. mirage-channel >= "4.0.0"
  226. mirage-channel-lwt
  227. mirage-crypto-ec < "0.11.0"
  228. mirage-flow >= "1.0.2" & < "1.2.0"
  229. mirage-flow-unix
  230. mirage-fs-mem
  231. mirage-fs-unix >= "1.2.0" & < "1.3.0"
  232. mirage-kv >= "2.0.0" & < "6.1.0"
  233. mirage-kv-mem
  234. mirage-logs >= "0.3.0"
  235. mirage-nat
  236. mirage-net-fd
  237. mirage-net-flow
  238. mirage-net-unix >= "2.3.0"
  239. mirage-runtime >= "4.0.0~beta1" & < "4.5.0"
  240. mirage-tc
  241. mjson
  242. mnd
  243. monocypher
  244. mrmime
  245. mrt-format
  246. multibase
  247. multihash
  248. multihash-digestif
  249. multipart-form-data
  250. multipart_form
  251. multipart_form-eio
  252. multipart_form-lwt
  253. named-pipe
  254. nanoid
  255. nbd >= "4.0.3"
  256. nbd-tool
  257. nloge
  258. nocoiner
  259. non_empty_list
  260. OCADml >= "0.6.0"
  261. ocaml-r >= "0.5.0"
  262. ocaml-version >= "3.1.0"
  263. ocamlformat >= "0.13.0" & != "0.19.0~4.13preview" & < "0.25.1"
  264. ocamlformat-rpc < "removed"
  265. ocamline
  266. ohex
  267. oidc
  268. opam-0install
  269. opam-file-format >= "2.1.1"
  270. opentelemetry >= "0.6"
  271. opentelemetry-client-cohttp-lwt >= "0.6"
  272. opentelemetry-client-ocurl >= "0.6"
  273. opentelemetry-cohttp-lwt >= "0.6"
  274. opentelemetry-lwt >= "0.6"
  275. opium >= "0.15.0"
  276. opium-graphql
  277. opium-testing
  278. opium_kernel
  279. osx-acl
  280. osx-attr
  281. osx-cf
  282. osx-fsevents
  283. osx-membership
  284. osx-mount
  285. osx-xattr
  286. otoggl
  287. owl >= "0.6.0" & != "0.9.0" & != "1.0.0"
  288. owl-base < "0.5.0"
  289. owl-ode >= "0.1.0" & != "0.2.0"
  290. owl-symbolic
  291. passmaker
  292. patch < "2.0.0"
  293. pbkdf < "0.3.0"
  294. pecu >= "0.2"
  295. pf-qubes
  296. pg_query >= "0.9.6"
  297. phylogenetics
  298. piaf
  299. polyglot
  300. polynomial
  301. ppx_blob >= "0.3.0"
  302. ppx_deriving_cmdliner
  303. ppx_deriving_rpc
  304. ppx_deriving_yaml
  305. ppx_graphql
  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