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

Conflicts

None

OCaml

Innovation. Community. Security.