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-lwt
  13. arc
  14. archetype >= "1.4.2"
  15. archi
  16. arp
  17. arrakis < "1.1.0"
  18. art
  19. asai
  20. asak
  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. avro-simple
  28. azure-cosmos-db-eio
  29. backoff
  30. base32
  31. base64 >= "2.1.2" & < "3.2.0" | >= "3.4.0"
  32. bastet
  33. bastet_lwt
  34. bech32
  35. bechamel >= "0.5.0"
  36. bigarray-overlap
  37. bigstringaf
  38. biotk >= "0.4"
  39. bitlib
  40. bizowie-api
  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
  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
  301. mec
  302. mechaml >= "1.2.1"
  303. merlin = "4.17.1-501"
  304. merlin-lib >= "4.17.1-501"
  305. metrics
  306. mfat
  307. miaou-core
  308. middleware
  309. mimic
  310. minicaml = "0.3.1" | >= "0.4"
  311. mirage >= "4.0.0"
  312. mirage-block-partition
  313. mirage-block-ramdisk
  314. mirage-channel >= "4.0.1"
  315. mirage-crypto-ec
  316. mirage-flow-unix
  317. mirage-kv >= "2.0.0"
  318. mirage-kv-mem
  319. mirage-kv-unix >= "3.0.0"
  320. mirage-logs
  321. mirage-nat
  322. mirage-net-unix
  323. mirage-runtime < "4.7.0"
  324. mirage-tc
  325. mjson
  326. mlgpx
  327. mmdb < "0.3.0"
  328. mnd
  329. mqtt
  330. mrmime >= "0.2.0"
  331. msgpck >= "1.6"
  332. mssql
  333. multibase
  334. multicore-magic
  335. multihash
  336. multihash-digestif
  337. multipart-form-data
  338. multipart_form
  339. multipart_form-eio
  340. multipart_form-lwt
  341. multipart_form-miou
  342. named-pipe
  343. nanoid
  344. nbd >= "4.0.3"
  345. nbd-tool
  346. neo4j_bolt
  347. nloge
  348. nocoiner
  349. non_empty_list
  350. nx < "1.0.0~alpha3"
  351. nx-datasets
  352. nx-text
  353. OCADml >= "0.6.0"
  354. obatcher
  355. ocaml-ai-sdk
  356. ocaml-index < "5.4.1-503"
  357. ocaml-r >= "0.4.0"
  358. ocaml-version >= "3.5.0"
  359. ocamlformat < "0.25.1"
  360. ocamlformat-lib
  361. ocamlformat-mlx-lib
  362. ocamlformat-rpc < "removed"
  363. ocamline
  364. ocgtk
  365. ochre
  366. ochre-cli
  367. ocluster
  368. ocue
  369. odoc < "2.1.1"
  370. oenv >= "0.1.0"
  371. ohex
  372. oidc
  373. oktree >= "0.2.4"
  374. opam-0install
  375. opam-0install-cudf >= "0.5.0"
  376. opam-compiler
  377. opam-file-format >= "2.1.1"
  378. opam-repomin
  379. opencage
  380. opentelemetry >= "0.6"
  381. opentelemetry-client
  382. opentelemetry-client-cohttp-eio
  383. opentelemetry-client-cohttp-lwt >= "0.6"
  384. opentelemetry-client-ocurl >= "0.6"
  385. opentelemetry-client-ocurl-lwt
  386. opentelemetry-cohttp-lwt >= "0.6"
  387. opentelemetry-logs
  388. opentelemetry-lwt >= "0.6"
  389. opium
  390. opium-graphql
  391. opium-testing
  392. opium_kernel
  393. orewa
  394. orgeat
  395. ortac-core
  396. ortac-wrapper
  397. osnap < "0.3.0"
  398. osx-acl
  399. osx-attr
  400. osx-cf
  401. osx-fsevents
  402. osx-membership
  403. osx-mount
  404. osx-xattr
  405. otoggl
  406. owl >= "0.7.0" & != "0.9.0" & != "1.0.0"
  407. owl-base < "0.5.0"
  408. owl-ode >= "0.1.0" & != "0.2.0"
  409. owl-symbolic
  410. par_incr
  411. parseff
  412. passe
  413. passmaker
  414. patch
  415. pbkdf
  416. pecu >= "0.2"
  417. pf-qubes
  418. pg_query >= "0.9.6"
  419. pgx
  420. pgx_unix
  421. pgx_value_core
  422. pgx_value_ptime
  423. phylogenetics
  424. piaf
  425. picos < "0.5.0"
  426. picos_meta
  427. piece_rope
  428. plebeia >= "2.0.0"
  429. polyglot
  430. polymarket
  431. polynomial
  432. ppx_blob >= "0.3.0"
  433. ppx_catch
  434. ppx_deriving_cmdliner
  435. ppx_deriving_ezjsonm
  436. ppx_deriving_qcheck
  437. ppx_deriving_rpc
  438. ppx_deriving_yaml
  439. ppx_ezlua
  440. ppx_inline_alcotest
  441. ppx_map
  442. ppx_marshal
  443. ppx_mica
  444. ppx_parser
  445. ppx_protocol_conv
  446. ppx_protocol_conv_json
  447. ppx_protocol_conv_jsonm
  448. ppx_protocol_conv_msgpack
  449. ppx_protocol_conv_xml_light
  450. ppx_protocol_conv_xmlm
  451. ppx_protocol_conv_yaml
  452. ppx_repr
  453. ppx_subliner
  454. ppx_units
  455. ppx_yojson >= "1.1.0"
  456. pratter
  457. prbnmcn-ucb1 >= "0.0.2"
  458. prc
  459. preface
  460. pretty_expressive
  461. prettym
  462. proc-smaps
  463. producer
  464. progress
  465. prom
  466. prometheus < "1.2"
  467. prometheus-app
  468. protocell
  469. protocol-9p < "0.11.0" | >= "0.11.2"
  470. protocol-9p-unix
  471. proton
  472. psq
  473. public-suffix
  474. pxshot
  475. pyast
  476. qcaml
  477. qcheck >= "0.25"
  478. qcheck-alcotest
  479. qcheck-core >= "0.25"
  480. qcow-stream >= "0.13.0"
  481. qcow-tool = "0.13.0"
  482. qcow-types = "0.13.0"
  483. qdrant
  484. query-json
  485. quickjs
  486. quill < "1.0.0~alpha3"
  487. randii
  488. reason-standard
  489. red-black-tree
  490. reparse >= "2.0.0" & < "3.0.0"
  491. reparse-unix < "2.1.0"
  492. resp
  493. resp-unix >= "0.10.0"
  494. resto >= "0.9"
  495. rfc1951 < "1.0.0"
  496. routes < "2.0.0"
  497. rpc
  498. rpclib
  499. rpclib-async
  500. rpclib-lwt
  501. rpmfile < "0.3.0"
  502. rpmfile-eio
  503. rpmfile-unix
  504. rune < "1.0.0~alpha3"
  505. SZXX >= "4.0.0"
  506. saga
  507. salsa20
  508. salsa20-core
  509. sanddb >= "0.2"
  510. saturn != "0.4.1"
  511. saturn_lockfree != "0.4.1"
  512. scrypt-kdf
  513. secp256k1 >= "0.4.1"
  514. secp256k1-internal
  515. semver >= "0.2.1"
  516. sendmail
  517. sendmail-lwt
  518. sendmail-miou-unix
  519. sendmail-mirage
  520. sendmsg
  521. seqes
  522. server-reason-react
  523. session-cookie
  524. session-cookie-async
  525. session-cookie-lwt
  526. sha256-cng
  527. shakuhachi
  528. sherlodoc
  529. sihl < "0.2.0"
  530. sihl-type
  531. slug
  532. smaws-clients
  533. smaws-lib
  534. smol
  535. smol-helpers
  536. sodium-fmt
  537. solidity-alcotest
  538. sowilo < "1.0.0~alpha3"
  539. spdx_licenses
  540. spectrum >= "0.2.0"
  541. spectrum_capabilities
  542. spectrum_palette_ppx
  543. spectrum_palettes
  544. spectrum_tools
  545. spin >= "0.7.0"
  546. spurs < "0.1.1"
  547. squirrel
  548. ssh-agent
  549. ssl >= "0.6.0"
  550. starred_ml < "0.0.8"
  551. stem
  552. stramon-lib
  553. stringx
  554. styled-ppx
  555. swapfs
  556. symex >= "0.2"
  557. synchronizer >= "0.2"
  558. syslog-rfc5424 < "0.2"
  559. tabr
  560. talon < "1.0.0~alpha3"
  561. tar-mirage
  562. tcpip
  563. tdigest < "2.1.0"
  564. term-indexing
  565. term-tools
  566. terminal
  567. terminal_size >= "0.1.1"
  568. terminus
  569. terminus-cohttp
  570. terminus-hlc
  571. terml
  572. testo
  573. testo-lwt
  574. textmate-language >= "0.3.0"
  575. textrazor
  576. thread-table
  577. timedesc
  578. timere
  579. timmy
  580. timmy-jsoo
  581. timmy-lwt
  582. timmy-unix
  583. tls >= "0.12.8"
  584. toc
  585. topojson
  586. topojsone
  587. trail
  588. traits
  589. transept
  590. tsort >= "2.2.0"
  591. twostep
  592. type_eq
  593. type_id
  594. typeid >= "1.0.1"
  595. tyre >= "0.4"
  596. tyxml >= "4.2.0"
  597. tyxml-jsx
  598. tyxml-ppx >= "4.3.0"
  599. tyxml-syntax
  600. uecc
  601. ulid
  602. universal-portal
  603. unix-dirent
  604. unix-errno
  605. unix-sys-resource
  606. unix-sys-stat
  607. unix-time
  608. unstrctrd
  609. uring < "0.4"
  610. user-agent-parser
  611. uspf
  612. uspf-lwt
  613. uspf-mirage
  614. uspf-unix
  615. utcp
  616. utop >= "2.13.0"
  617. validate
  618. validator
  619. valkey
  620. vercel
  621. vhd-format-lwt >= "0.13.0"
  622. wayland >= "2.0"
  623. wcwidth
  624. websocketaf
  625. wire
  626. x509 >= "0.7.0"
  627. xapi-rrd
  628. xapi-stdext-date
  629. xapi-stdext-encodings
  630. xapi-stdext-std >= "4.16.0"
  631. xdge
  632. xkbcommon
  633. yaml
  634. yaml-sexp
  635. yocaml
  636. yocaml_syndication >= "2.0.0"
  637. yocaml_yaml < "2.0.0"
  638. yojson >= "1.6.0"
  639. yojson-five
  640. yuscii >= "0.3.0"
  641. yuujinchou >= "1.0.0"
  642. zar
  643. zed >= "3.2.2"
  644. zlist < "0.4.0"

Conflicts (2)

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