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

Conflicts (2)

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