package alcotest

Build not yet checked
  1. Overview
  2. No Docs
Alcotest is a lightweight and colourful test framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-1.10.1.tbz
sha256=62c095deda5cdd66c30684f7b1f25b5775d1d3d3ded927c7b893b4a6834ddb47
sha512=6f779fa96faf96b5b462ddc428aeaaa73a6be96771dbbad6a05b7bb00dae246648891c211e26174729c1f40128410ad96f2512101ae8b7d61f968ee61534b3d0

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.

Added to opam-repository:

Dependencies (6)

  1. re >= "1.7.2"
  2. cmdliner >= "1.2.0"
  3. astring
  4. fmt >= "0.8.7"
  5. ocaml >= "4.14"
  6. dune >= "3.17"

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies

None

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

Conflicts (2)

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

Build status

Results of building alcotest with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
1.9.1 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure