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.2.tbz
sha256=6e0da8828fbf6826de0b782dfe32c45f9fee7a44f1d6257c697d0cf92cfecd36
sha512=fadb58647cb046624e54a08da873e1abdf56fedc3f5f6c9d91a851e4f83a688e451ba087e8100976bfcbe8d6374dd2e6db718f175483e0a825e0acba7be3a3d1

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