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. forester >= "5.0"
  183. fsevents-lwt
  184. functoria
  185. fungi
  186. geojson
  187. geoml >= "0.1.1"
  188. git
  189. git-cohttp
  190. git-cohttp-unix
  191. git-kv >= "0.2.0"
  192. git-mirage
  193. git-net
  194. git-split
  195. git-unix
  196. gitlab-unix
  197. glicko2
  198. gmap
  199. gobba
  200. gpt
  201. graphql
  202. graphql-async
  203. graphql-cohttp >= "0.13.0"
  204. graphql-lwt
  205. graphql_parser != "0.11.0"
  206. graphql_ppx
  207. h1
  208. h1_parser
  209. h2
  210. hacl
  211. hacl-star >= "0.6.0" & < "0.7.2"
  212. hacl_func
  213. hacl_x25519
  214. highlexer
  215. hkdf
  216. hockmd
  217. html_of_jsx
  218. http
  219. http-multipart-formdata < "2.0.0"
  220. httpaf >= "0.2.0"
  221. httpun
  222. httpun-ws
  223. hugin
  224. huml
  225. hvsock
  226. icalendar
  227. imagelib
  228. index
  229. inferno >= "20220603"
  230. influxdb-async
  231. influxdb-lwt
  232. inquire < "0.2.0"
  233. interval-map
  234. iomux
  235. irmin
  236. irmin-bench
  237. irmin-chunk
  238. irmin-cli
  239. irmin-containers
  240. irmin-fs
  241. irmin-git
  242. irmin-graphql
  243. irmin-pack
  244. irmin-pack-tools
  245. irmin-test != "3.6.1"
  246. irmin-tezos
  247. irmin-unix
  248. irmin-watcher
  249. jekyll-format
  250. jose
  251. json-data-encoding >= "0.9"
  252. json_decoder
  253. jsonxt
  254. junit_alcotest < "2.2.0"
  255. jwto
  256. kaun
  257. kcas >= "0.6.0"
  258. kcas_data >= "0.6.0"
  259. kdf
  260. ke >= "0.2"
  261. kkmarkdown
  262. kmt
  263. lambda-runtime
  264. lambda_streams
  265. lambda_streams_async
  266. lambdapi
  267. ledgerwallet-tezos >= "0.2.1" & < "0.4.0"
  268. letters
  269. lmdb >= "1.0"
  270. lockfree >= "0.3.1"
  271. logical
  272. logtk >= "1.6"
  273. lp
  274. lp-glpk
  275. lp-glpk-js < "0.5.0"
  276. lp-gurobi < "0.5.0"
  277. lru
  278. lt-code
  279. luv
  280. mazeppa
  281. mbr-format
  282. mdx >= "1.6.0"
  283. mec
  284. mechaml >= "1.2.1"
  285. merlin = "4.17.1-501"
  286. merlin-lib >= "4.17.1-501"
  287. metrics
  288. middleware
  289. mimic
  290. minicaml = "0.3.1" | >= "0.4"
  291. mirage >= "4.0.0"
  292. mirage-block-partition
  293. mirage-block-ramdisk
  294. mirage-channel >= "4.0.1"
  295. mirage-crypto-ec
  296. mirage-flow-unix
  297. mirage-kv >= "2.0.0"
  298. mirage-kv-mem
  299. mirage-kv-unix >= "3.0.0"
  300. mirage-logs
  301. mirage-nat
  302. mirage-net-unix
  303. mirage-runtime < "4.7.0"
  304. mirage-tc
  305. mjson
  306. mlgpx
  307. mmdb < "0.3.0"
  308. mnd
  309. mqtt
  310. mrmime >= "0.2.0"
  311. msgpck >= "1.6"
  312. mssql >= "2.0.3"
  313. multibase
  314. multicore-magic
  315. multihash
  316. multihash-digestif
  317. multipart-form-data
  318. multipart_form
  319. multipart_form-eio
  320. multipart_form-lwt
  321. multipart_form-miou
  322. named-pipe
  323. nanoid
  324. nbd >= "4.0.3"
  325. nbd-tool
  326. nloge
  327. nocoiner
  328. non_empty_list
  329. nx
  330. nx-datasets
  331. nx-text
  332. OCADml >= "0.6.0"
  333. obatcher
  334. ocaml-index < "5.4.1-503"
  335. ocaml-r >= "0.4.0"
  336. ocaml-version >= "3.5.0"
  337. ocamlformat >= "0.13.0" & < "0.25.1"
  338. ocamlformat-lib
  339. ocamlformat-mlx-lib
  340. ocamlformat-rpc < "removed"
  341. ocamline
  342. ocluster
  343. octez-bls12-381-hash
  344. octez-bls12-381-signature
  345. octez-libs
  346. octez-mec
  347. ocue
  348. odoc < "2.1.1"
  349. oenv >= "0.1.0"
  350. ohex
  351. oidc
  352. opam-0install
  353. opam-0install-cudf >= "0.5.0"
  354. opam-compiler
  355. opam-file-format >= "2.1.1"
  356. opencage
  357. opentelemetry >= "0.6"
  358. opentelemetry-client-cohttp-eio
  359. opentelemetry-client-cohttp-lwt >= "0.6"
  360. opentelemetry-client-ocurl >= "0.6"
  361. opentelemetry-cohttp-lwt >= "0.6"
  362. opentelemetry-logs
  363. opentelemetry-lwt >= "0.6"
  364. opium
  365. opium-graphql
  366. opium-testing
  367. opium_kernel
  368. orewa
  369. orgeat
  370. ortac-core
  371. ortac-wrapper
  372. osnap < "0.3.0"
  373. osx-acl
  374. osx-attr
  375. osx-cf
  376. osx-fsevents
  377. osx-membership
  378. osx-mount
  379. osx-xattr
  380. otoggl
  381. owl >= "0.7.0" & != "0.9.0" & != "1.0.0"
  382. owl-base < "0.5.0"
  383. owl-ode >= "0.1.0" & != "0.2.0"
  384. owl-symbolic
  385. par_incr
  386. passmaker
  387. patch
  388. pbkdf
  389. pecu >= "0.2"
  390. pf-qubes
  391. pg_query >= "0.9.6"
  392. pgx >= "1.0"
  393. pgx_unix >= "1.0"
  394. pgx_value_core
  395. pgx_value_ptime
  396. phylogenetics
  397. piaf
  398. picos < "0.5.0"
  399. picos_meta
  400. piece_rope
  401. plebeia >= "2.0.0"
  402. polyglot
  403. polynomial
  404. ppx_blob >= "0.3.0"
  405. ppx_catch
  406. ppx_deriving_cmdliner
  407. ppx_deriving_ezjsonm
  408. ppx_deriving_qcheck
  409. ppx_deriving_rpc
  410. ppx_deriving_yaml
  411. ppx_inline_alcotest
  412. ppx_map
  413. ppx_marshal
  414. ppx_parser
  415. ppx_protocol_conv >= "5.0.0"
  416. ppx_protocol_conv_json >= "5.0.0"
  417. ppx_protocol_conv_jsonm >= "5.0.0"
  418. ppx_protocol_conv_msgpack >= "5.0.0"
  419. ppx_protocol_conv_xml_light >= "5.0.0"
  420. ppx_protocol_conv_xmlm
  421. ppx_protocol_conv_yaml >= "5.0.0"
  422. ppx_repr
  423. ppx_subliner
  424. ppx_units
  425. ppx_yojson >= "1.1.0"
  426. pratter
  427. prbnmcn-ucb1 >= "0.0.2"
  428. prc
  429. preface
  430. pretty_expressive
  431. prettym
  432. proc-smaps
  433. producer
  434. progress
  435. prom
  436. prometheus < "1.2"
  437. prometheus-app
  438. protocell
  439. protocol-9p < "0.11.0" | >= "0.11.2"
  440. protocol-9p-unix
  441. proton
  442. psq
  443. pyast
  444. qcheck >= "0.25"
  445. qcheck-alcotest
  446. qcheck-core >= "0.25"
  447. quickjs
  448. quill
  449. randii
  450. reason-standard
  451. red-black-tree
  452. reparse >= "2.0.0" & < "3.0.0"
  453. reparse-unix < "2.1.0"
  454. resp
  455. resp-unix >= "0.10.0"
  456. resto >= "0.9"
  457. rfc1951 < "1.0.0"
  458. routes < "2.0.0"
  459. rpc
  460. rpclib
  461. rpclib-async
  462. rpclib-lwt
  463. rpmfile < "0.3.0"
  464. rpmfile-eio
  465. rpmfile-unix
  466. rune
  467. SZXX >= "4.0.0"
  468. saga
  469. salsa20
  470. salsa20-core
  471. sanddb >= "0.2"
  472. saturn != "0.4.1"
  473. saturn_lockfree != "0.4.1"
  474. scrypt-kdf
  475. secp256k1 >= "0.4.1"
  476. secp256k1-internal
  477. semver >= "0.2.1"
  478. sendmail
  479. sendmail-lwt
  480. sendmail-miou-unix
  481. sendmail-mirage
  482. sendmsg
  483. seqes
  484. server-reason-react
  485. session-cookie
  486. session-cookie-async
  487. session-cookie-lwt
  488. sherlodoc
  489. sihl < "0.2.0"
  490. sihl-type
  491. slug
  492. smaws-clients
  493. smaws-lib
  494. smol
  495. smol-helpers
  496. sodium-fmt
  497. solidity-alcotest
  498. sowilo
  499. spdx_licenses
  500. spectrum >= "0.2.0"
  501. spin >= "0.7.0"
  502. spurs
  503. squirrel
  504. ssh-agent
  505. ssl >= "0.6.0"
  506. starred_ml
  507. stramon-lib
  508. stringx
  509. styled-ppx
  510. swapfs
  511. syslog-rfc5424
  512. tabr
  513. talon
  514. tar-mirage
  515. tcpip
  516. tdigest < "2.1.0"
  517. term-indexing
  518. term-tools
  519. terminal
  520. terminal_size >= "0.1.1"
  521. terminus
  522. terminus-cohttp
  523. terminus-hlc
  524. terml
  525. testo
  526. testo-lwt
  527. textmate-language >= "0.3.0"
  528. textrazor
  529. tezos-base-test-helpers < "17.3"
  530. tezos-bls12-381-polynomial
  531. tezos-client-base < "17.3"
  532. tezos-client-base-unix < "17.3"
  533. tezos-crypto >= "16.0" & < "17.3"
  534. tezos-crypto-dal < "17.3"
  535. tezos-error-monad >= "12.3" & < "17.3"
  536. tezos-event-logging-test-helpers < "17.3"
  537. tezos-plompiler = "0.1.3"
  538. tezos-plonk = "0.1.3"
  539. tezos-shell-services >= "16.0" & < "17.3"
  540. tezos-stdlib != "12.3" & < "17.3"
  541. tezos-test-helpers < "17.3"
  542. tezos-version >= "16.0" & < "17.3"
  543. tezos-webassembly-interpreter < "17.3"
  544. thread-table
  545. timedesc
  546. timere
  547. timmy
  548. timmy-jsoo
  549. timmy-lwt
  550. timmy-unix
  551. tls >= "0.12.8"
  552. toc
  553. topojson
  554. topojsone
  555. trail
  556. traits
  557. transept
  558. tsort >= "2.2.0"
  559. twostep
  560. type_eq
  561. type_id
  562. typeid >= "1.0.1"
  563. tyre >= "0.4"
  564. tyxml >= "4.2.0"
  565. tyxml-jsx
  566. tyxml-ppx >= "4.3.0"
  567. tyxml-syntax
  568. uecc
  569. ulid
  570. universal-portal
  571. unix-dirent
  572. unix-errno
  573. unix-sys-resource
  574. unix-sys-stat
  575. unix-time
  576. unstrctrd
  577. uring < "0.4"
  578. user-agent-parser
  579. uspf
  580. uspf-lwt
  581. uspf-mirage
  582. uspf-unix
  583. utop >= "2.13.0"
  584. validate
  585. validator
  586. vercel
  587. vhd-format-lwt >= "0.13.0"
  588. vpnkit
  589. wayland >= "2.0"
  590. wcwidth
  591. websocketaf
  592. x509 >= "0.7.0"
  593. xapi-rrd
  594. xapi-stdext-date
  595. xapi-stdext-encodings
  596. xapi-stdext-std >= "4.16.0"
  597. yaml
  598. yaml-sexp
  599. yocaml
  600. yocaml_syndication >= "2.0.0"
  601. yocaml_yaml < "2.0.0"
  602. yojson >= "1.6.0"
  603. yojson-five
  604. yuscii >= "0.3.0"
  605. yuujinchou >= "1.0.0"
  606. zar
  607. zed >= "3.2.2"
  608. zlist < "0.4.0"

Conflicts (1)

  1. result < "1.5"