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