package alcotest

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-1.8.0.tbz
sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e
sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d

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: 25 Jul 2024

Dependencies (9)

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

Conflicts (2)

  1. js_of_ocaml-compiler < "5.8"
  2. result < "1.5"