package alcotest

  1. Overview
  2. No Docs
Alcotest is a lightweight and colourful test framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-1.9.1.tbz
sha256=1e29c3b41d4329062105b723dfda3aff86b8cef5e7c7500d0e491fc5fd78e482
sha512=c49d402fa636dcf11f81917610dd1d2eca8606c8919aede4db23710d071f6046a8f93c78de9fbfee26637a53ca67f71fad500bfa2478b7f0f059608a492dd0a5

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 (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 (1)

  1. odoc with-doc

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

Conflicts (2)

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