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

Conflicts (2)

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