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

Conflicts

None

OCaml

Innovation. Community. Security.