package alcotest

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.7.tar.gz
md5=c9664c46bb11e904a83f56154a589b56

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: 22 Feb 2016

Dependencies (5)

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

Conflicts

None