package alcotest

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-1.7.0.tbz
sha256=812bacdb34b45e88995e07d7306bdab2f72479ef1996637f1d5d1f41667902df
sha512=4ae1ba318949ec9db8b87bc8072632a02f0e4003a95ab21e474f5c34c3b5bde867b0194a2d0ea7d9fc4580c70a30ca39287d33a8c134acc7611902f79c7b7ce8

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: 27 Feb 2023

Dependencies (9)

  1. ocaml-syntax-shims
  2. uutf >= "1.0.1"
  3. stdlib-shims
  4. re >= "1.7.2"
  5. cmdliner >= "1.1.0"
  6. astring
  7. fmt >= "0.8.7"
  8. ocaml >= "4.05.0"
  9. dune >= "3.0"

Dev Dependencies (2)

  1. odoc with-doc
  2. cmdliner with-test & < "2.0.0"

  1. ahrocksdb
  2. albatross >= "1.5.4"
  3. alcotest-async = "1.7.0"
  4. alg_structs_qcheck
  5. algaeff
  6. ambient-context
  7. ambient-context-eio
  8. ambient-context-lwt
  9. angstrom >= "0.7.0"
  10. ansi >= "0.6.0"
  11. anycache >= "0.7.4"
  12. anycache-async
  13. anycache-lwt
  14. archetype >= "1.4.2"
  15. archi
  16. arp
  17. arrakis < "1.1.0"
  18. art
  19. asai
  20. asak >= "0.2"
  21. asli >= "0.2.0"
  22. asn1-combinators >= "0.2.5"
  23. atd >= "2.3.3"
  24. atdgen >= "2.10.0"
  25. atdpy
  26. atdts
  27. backoff
  28. base32
  29. base64 >= "2.1.2" & < "3.2.0" | >= "3.4.0"
  30. bastet
  31. bastet_lwt
  32. bech32
  33. bechamel >= "0.5.0"
  34. bigarray-overlap
  35. bigstringaf
  36. bitlib
  37. blake2
  38. bloomf
  39. bls12-381 < "0.4.1" | >= "3.0.0" & < "18.0"
  40. bls12-381-hash
  41. bls12-381-js >= "0.4.2"
  42. bls12-381-js-gen >= "0.4.2"
  43. bls12-381-legacy
  44. bls12-381-signature
  45. bls12-381-unix
  46. blurhash
  47. brisk-reconciler
  48. builder-web
  49. bytebuffer
  50. ca-certs
  51. ca-certs-nss
  52. cachet
  53. cactus
  54. caldav
  55. calendar >= "3.0.0"
  56. callipyge
  57. camlix
  58. camlkit
  59. camlkit-base
  60. capnp-rpc
  61. capnp-rpc-unix
  62. caqti >= "1.7.0"
  63. caqti-async >= "1.7.0"
  64. caqti-driver-mariadb >= "1.7.0"
  65. caqti-driver-postgresql >= "1.7.0"
  66. caqti-driver-sqlite3 >= "1.7.0"
  67. caqti-dynload >= "2.0.1"
  68. caqti-eio
  69. caqti-lwt >= "1.7.0"
  70. caqti-miou
  71. carray
  72. carton < "1.0.0"
  73. carton-git
  74. carton-lwt >= "0.4.3" & < "1.0.0"
  75. catala >= "0.6.0"
  76. cborl
  77. cf-lwt
  78. chacha
  79. chamelon
  80. chamelon-unix
  81. charrua-client
  82. charrua-server
  83. checked_oint
  84. checkseum >= "0.0.3"
  85. cid
  86. clarity-lang
  87. class_group_vdf
  88. cohttp
  89. cohttp-curl-async
  90. cohttp-curl-lwt
  91. cohttp-eio >= "6.0.0~beta2"
  92. colombe >= "0.2.0"
  93. color
  94. commons
  95. conan
  96. conan-cli
  97. conan-database
  98. conan-lwt
  99. conan-unix
  100. conex < "0.10.0"
  101. conex-mirage-crypto
  102. conformist
  103. cookie
  104. corosync
  105. cow >= "2.2.0"
  106. css
  107. css-parser
  108. cstruct
  109. cstruct-sexp
  110. ctypes-zarith
  111. cuid
  112. curly
  113. current
  114. current-albatross-deployer
  115. current_git >= "0.7.1"
  116. current_incr
  117. data-encoding
  118. dates_calc
  119. dbase4
  120. decimal >= "0.3.0"
  121. decompress
  122. depyt
  123. digestif >= "0.9.0"
  124. dirsp-exchange-kbb2017
  125. dirsp-proscript-mirage
  126. dirsp-ps2ocaml
  127. dispatch >= "0.4.1"
  128. dkim
  129. dkim-bin
  130. dkim-mirage
  131. dkml-dune-dsl-show
  132. dkml-install
  133. dkml-install-installer
  134. dkml-install-runner
  135. dkml-package-console
  136. dns >= "4.4.1"
  137. dns-cli
  138. dns-client >= "4.6.3"
  139. dns-forward-lwt-unix
  140. dns-resolver
  141. dns-server
  142. dns-tsig
  143. dnssd
  144. dnssec
  145. docfd >= "2.2.0"
  146. dockerfile >= "8.2.7"
  147. domain-local-await >= "0.2.1"
  148. domain-local-timeout
  149. domain-name
  150. dream
  151. dream-htmx
  152. dream-pure
  153. dscheck >= "0.1.1"
  154. duff
  155. dune-deps >= "1.4.0"
  156. dune-release >= "1.0.0"
  157. duration
  158. echo
  159. eio < "0.12"
  160. eio_linux
  161. eio_windows
  162. emile
  163. encore
  164. eqaf >= "0.5"
  165. equinoxe
  166. equinoxe-cohttp
  167. equinoxe-hlc
  168. ezgzip
  169. ezjsonm
  170. ezjsonm-lwt
  171. FPauth
  172. FPauth-core
  173. FPauth-responses
  174. FPauth-strategies
  175. faraday != "0.2.0"
  176. farfadet
  177. fat-filesystem
  178. fehu
  179. ff
  180. ff-pbt
  181. flex-array
  182. flux
  183. fluxt
  184. forester >= "5.0"
  185. fsevents-lwt
  186. functoria
  187. fungi
  188. geojson
  189. geoml >= "0.1.1"
  190. git
  191. git-cohttp
  192. git-cohttp-unix
  193. git-kv >= "0.2.0"
  194. git-mirage
  195. git-net
  196. git-split
  197. git-unix
  198. gitlab-unix
  199. glicko2
  200. gmap
  201. gobba
  202. gpt
  203. graphql
  204. graphql-async
  205. graphql-cohttp >= "0.13.0"
  206. graphql-lwt
  207. graphql_parser != "0.11.0"
  208. graphql_ppx
  209. h1
  210. h1_parser
  211. h2
  212. hacl
  213. hacl-star >= "0.6.0" & < "0.7.2"
  214. hacl_func
  215. hacl_x25519
  216. handlebars-ml >= "0.2.1"
  217. highlexer
  218. hkdf
  219. hockmd
  220. html_of_jsx
  221. http
  222. http-multipart-formdata < "2.0.0"
  223. httpaf >= "0.2.0"
  224. httpun
  225. httpun-ws
  226. hugin
  227. huml
  228. hvsock
  229. icalendar
  230. imagelib
  231. index
  232. inferno >= "20220603"
  233. influxdb-async
  234. influxdb-lwt
  235. inquire < "0.2.0"
  236. interval-map
  237. iomux
  238. irmin
  239. irmin-bench
  240. irmin-chunk
  241. irmin-cli
  242. irmin-containers
  243. irmin-fs
  244. irmin-git
  245. irmin-graphql
  246. irmin-pack
  247. irmin-pack-tools
  248. irmin-test != "3.6.1"
  249. irmin-tezos
  250. irmin-unix
  251. irmin-watcher
  252. jekyll-format
  253. jose
  254. json-data-encoding >= "0.9"
  255. json_decoder
  256. jsonxt
  257. junit_alcotest < "2.2.0"
  258. jwto
  259. kaun
  260. kcas >= "0.6.0"
  261. kcas_data >= "0.6.0"
  262. kdf
  263. ke >= "0.2"
  264. kkmarkdown
  265. kmt
  266. lambda-runtime
  267. lambda_streams
  268. lambda_streams_async
  269. lambdapi
  270. ledgerwallet-tezos >= "0.2.1" & < "0.4.0"
  271. letters
  272. lmdb >= "1.0"
  273. lockfree >= "0.3.1"
  274. logical
  275. logtk >= "1.6"
  276. lp
  277. lp-glpk
  278. lp-glpk-js < "0.5.0"
  279. lp-gurobi < "0.5.0"
  280. lru
  281. lt-code
  282. luv
  283. mazeppa
  284. mbr-format
  285. mdx >= "1.6.0"
  286. mec
  287. mechaml >= "1.2.1"
  288. merlin = "4.17.1-501"
  289. merlin-lib >= "4.17.1-501"
  290. metrics
  291. middleware
  292. mimic
  293. minicaml = "0.3.1" | >= "0.4"
  294. mirage >= "4.0.0"
  295. mirage-block-partition
  296. mirage-block-ramdisk
  297. mirage-channel >= "4.0.1"
  298. mirage-crypto-ec
  299. mirage-flow-unix
  300. mirage-kv >= "2.0.0"
  301. mirage-kv-mem
  302. mirage-kv-unix >= "3.0.0"
  303. mirage-logs
  304. mirage-nat
  305. mirage-net-unix
  306. mirage-runtime < "4.7.0"
  307. mirage-tc
  308. mjson
  309. mlgpx
  310. mmdb < "0.3.0"
  311. mnd
  312. mqtt
  313. mrmime >= "0.2.0"
  314. msgpck >= "1.6"
  315. mssql >= "2.0.3"
  316. multibase
  317. multicore-magic
  318. multihash
  319. multihash-digestif
  320. multipart-form-data
  321. multipart_form
  322. multipart_form-eio
  323. multipart_form-lwt
  324. multipart_form-miou
  325. named-pipe
  326. nanoid
  327. nbd >= "4.0.3"
  328. nbd-tool
  329. nloge
  330. nocoiner
  331. non_empty_list
  332. nx
  333. nx-datasets
  334. nx-text
  335. OCADml >= "0.6.0"
  336. obatcher
  337. ocaml-index < "5.4.1-503"
  338. ocaml-r >= "0.4.0"
  339. ocaml-version >= "3.5.0"
  340. ocamlformat >= "0.13.0" & < "0.25.1"
  341. ocamlformat-lib
  342. ocamlformat-mlx-lib
  343. ocamlformat-rpc < "removed"
  344. ocamline
  345. ocluster
  346. octez-bls12-381-hash
  347. octez-bls12-381-signature
  348. octez-libs
  349. octez-mec
  350. ocue
  351. odoc < "2.1.1"
  352. oenv >= "0.1.0"
  353. ohex
  354. oidc
  355. opam-0install
  356. opam-0install-cudf >= "0.5.0"
  357. opam-compiler
  358. opam-file-format >= "2.1.1"
  359. opencage
  360. opentelemetry >= "0.6"
  361. opentelemetry-client-cohttp-eio
  362. opentelemetry-client-cohttp-lwt >= "0.6"
  363. opentelemetry-client-ocurl >= "0.6"
  364. opentelemetry-cohttp-lwt >= "0.6"
  365. opentelemetry-logs
  366. opentelemetry-lwt >= "0.6"
  367. opium
  368. opium-graphql
  369. opium-testing
  370. opium_kernel
  371. orewa
  372. orgeat
  373. ortac-core
  374. ortac-wrapper
  375. osnap < "0.3.0"
  376. osx-acl
  377. osx-attr
  378. osx-cf
  379. osx-fsevents
  380. osx-membership
  381. osx-mount
  382. osx-xattr
  383. otoggl
  384. owl >= "0.7.0" & != "0.9.0" & != "1.0.0"
  385. owl-base < "0.5.0"
  386. owl-ode >= "0.1.0" & != "0.2.0"
  387. owl-symbolic
  388. par_incr
  389. passmaker
  390. patch
  391. pbkdf
  392. pecu >= "0.2"
  393. pf-qubes
  394. pg_query >= "0.9.6"
  395. pgx >= "1.0"
  396. pgx_unix >= "1.0"
  397. pgx_value_core
  398. pgx_value_ptime
  399. phylogenetics
  400. piaf
  401. picos < "0.5.0"
  402. picos_meta
  403. piece_rope
  404. plebeia >= "2.0.0"
  405. polyglot
  406. polynomial
  407. ppx_blob >= "0.3.0"
  408. ppx_catch
  409. ppx_deriving_cmdliner
  410. ppx_deriving_ezjsonm
  411. ppx_deriving_qcheck
  412. ppx_deriving_rpc
  413. ppx_deriving_yaml
  414. ppx_inline_alcotest
  415. ppx_map
  416. ppx_marshal
  417. ppx_parser
  418. ppx_protocol_conv >= "5.0.0"
  419. ppx_protocol_conv_json >= "5.0.0"
  420. ppx_protocol_conv_jsonm >= "5.0.0"
  421. ppx_protocol_conv_msgpack >= "5.0.0"
  422. ppx_protocol_conv_xml_light >= "5.0.0"
  423. ppx_protocol_conv_xmlm
  424. ppx_protocol_conv_yaml >= "5.0.0"
  425. ppx_repr
  426. ppx_subliner
  427. ppx_units
  428. ppx_yojson >= "1.1.0"
  429. pratter
  430. prbnmcn-ucb1 >= "0.0.2"
  431. prc
  432. preface
  433. pretty_expressive
  434. prettym
  435. proc-smaps
  436. producer
  437. progress
  438. prom
  439. prometheus < "1.2"
  440. prometheus-app
  441. protocell
  442. protocol-9p < "0.11.0" | >= "0.11.2"
  443. protocol-9p-unix
  444. proton
  445. psq
  446. pyast
  447. qcheck >= "0.25"
  448. qcheck-alcotest
  449. qcheck-core >= "0.25"
  450. quickjs
  451. quill
  452. randii
  453. reason-standard
  454. red-black-tree
  455. reparse >= "2.0.0" & < "3.0.0"
  456. reparse-unix < "2.1.0"
  457. resp
  458. resp-unix >= "0.10.0"
  459. resto >= "0.9"
  460. rfc1951 < "1.0.0"
  461. routes < "2.0.0"
  462. rpc
  463. rpclib
  464. rpclib-async
  465. rpclib-lwt
  466. rpmfile < "0.3.0"
  467. rpmfile-eio
  468. rpmfile-unix
  469. rune
  470. SZXX >= "4.0.0"
  471. saga
  472. salsa20
  473. salsa20-core
  474. sanddb >= "0.2"
  475. saturn != "0.4.1"
  476. saturn_lockfree != "0.4.1"
  477. scrypt-kdf
  478. secp256k1 >= "0.4.1"
  479. secp256k1-internal
  480. semver >= "0.2.1"
  481. sendmail
  482. sendmail-lwt
  483. sendmail-miou-unix
  484. sendmail-mirage
  485. sendmsg
  486. seqes
  487. server-reason-react
  488. session-cookie
  489. session-cookie-async
  490. session-cookie-lwt
  491. sherlodoc
  492. sihl < "0.2.0"
  493. sihl-type
  494. slug
  495. smaws-clients
  496. smaws-lib
  497. smol
  498. smol-helpers
  499. sodium-fmt
  500. solidity-alcotest
  501. sowilo
  502. spdx_licenses
  503. spectrum >= "0.2.0"
  504. spin >= "0.7.0"
  505. spurs
  506. squirrel
  507. ssh-agent
  508. ssl >= "0.6.0"
  509. starred_ml
  510. stramon-lib
  511. stringx
  512. styled-ppx
  513. swapfs
  514. syslog-rfc5424
  515. tabr
  516. talon
  517. tar-mirage
  518. tcpip
  519. tdigest < "2.1.0"
  520. term-indexing
  521. term-tools
  522. terminal
  523. terminal_size >= "0.1.1"
  524. terminus
  525. terminus-cohttp
  526. terminus-hlc
  527. terml
  528. testo
  529. testo-lwt
  530. textmate-language >= "0.3.0"
  531. textrazor
  532. tezos-base-test-helpers < "17.3"
  533. tezos-bls12-381-polynomial
  534. tezos-client-base < "17.3"
  535. tezos-client-base-unix < "17.3"
  536. tezos-crypto >= "16.0" & < "17.3"
  537. tezos-crypto-dal < "17.3"
  538. tezos-error-monad >= "12.3" & < "17.3"
  539. tezos-event-logging-test-helpers < "17.3"
  540. tezos-plompiler = "0.1.3"
  541. tezos-plonk = "0.1.3"
  542. tezos-shell-services >= "16.0" & < "17.3"
  543. tezos-stdlib != "12.3" & < "17.3"
  544. tezos-test-helpers < "17.3"
  545. tezos-version >= "16.0" & < "17.3"
  546. tezos-webassembly-interpreter < "17.3"
  547. thread-table
  548. timedesc
  549. timere
  550. timmy
  551. timmy-jsoo
  552. timmy-lwt
  553. timmy-unix
  554. tls >= "0.12.8"
  555. toc
  556. topojson
  557. topojsone
  558. trail
  559. traits
  560. transept
  561. tsort >= "2.2.0"
  562. twostep
  563. type_eq
  564. type_id
  565. typeid >= "1.0.1"
  566. tyre >= "0.4"
  567. tyxml >= "4.2.0"
  568. tyxml-jsx
  569. tyxml-ppx >= "4.3.0"
  570. tyxml-syntax
  571. uecc
  572. ulid
  573. universal-portal
  574. unix-dirent
  575. unix-errno
  576. unix-sys-resource
  577. unix-sys-stat
  578. unix-time
  579. unstrctrd
  580. uring < "0.4"
  581. user-agent-parser
  582. uspf
  583. uspf-lwt
  584. uspf-mirage
  585. uspf-unix
  586. utop >= "2.13.0"
  587. validate
  588. validator
  589. vercel
  590. vhd-format-lwt >= "0.13.0"
  591. vpnkit
  592. wayland >= "2.0"
  593. wcwidth
  594. websocketaf
  595. x509 >= "0.7.0"
  596. xapi-rrd
  597. xapi-stdext-date
  598. xapi-stdext-encodings
  599. xapi-stdext-std >= "4.16.0"
  600. yaml
  601. yaml-sexp
  602. yocaml
  603. yocaml_syndication >= "2.0.0"
  604. yocaml_yaml < "2.0.0"
  605. yojson >= "1.6.0"
  606. yojson-five
  607. yuscii >= "0.3.0"
  608. yuujinchou >= "1.0.0"
  609. zar
  610. zed >= "3.2.2"
  611. zlist < "0.4.0"

Conflicts (1)

  1. result < "1.5"