package alcotest
Alcotest is a lightweight and colourful test framework
Install
Dune Dependency
Authors
Maintainers
Sources
alcotest-1.9.0.tbz
sha256=e2387136ca854df2b4152139dd4d4b3953a646e804948073dedfe0a232f08a15
sha512=ba38fe4a9061b001d274e5d41fb06c10c84120570fc00dc57dc5a06ba05176c2413295680d839f465ba91469ea99d7e172a324e26f005d6e8c4d98fca7657241
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: 18 Mar 2025
Dependencies (9)
- ocaml-syntax-shims
-
uutf
>= "1.0.1"
- stdlib-shims
-
re
>= "1.7.2"
-
cmdliner
>= "1.2.0"
- astring
-
fmt
>= "0.8.7"
-
ocaml
>= "4.08"
-
dune
>= "3.0"
Dev Dependencies (1)
-
odoc
with-doc
- ahrocksdb
-
albatross
>= "1.5.0"
-
alcotest-async
< "1.0.0" | >= "1.9.0"
-
alcotest-js
>= "1.9.0"
-
alcotest-lwt
< "1.0.0" | >= "1.9.0"
-
alcotest-mirage
>= "1.9.0"
- alg_structs_qcheck
- algaeff
- ambient-context
- ambient-context-eio
- ambient-context-lwt
-
angstrom
>= "0.7.0"
-
ansi
>= "0.6.0"
-
anycache
>= "0.7.4"
- anycache-async
- anycache-lwt
-
archetype
>= "1.4.2"
- archi
-
arp
!= "2.3.1"
-
arp-mirage
< "2.0.0"
- arrakis
- art
- asai
-
asak
>= "0.2"
-
asli
>= "0.2.0"
-
asn1-combinators
>= "0.2.2"
-
atd
>= "2.3.3"
-
atdgen
>= "2.10.0"
- atdpy
- atdts
- backoff
- base32
-
base64
>= "2.1.2" & < "3.2.0" | >= "3.4.0"
- bastet
- bastet_lwt
- bech32
-
bechamel
>= "0.5.0"
- bigarray-overlap
- bigstringaf
- bitlib
- blake2
- bloomf
-
bls12-381
< "0.4.1" | >= "3.0.0" & < "18.0"
- bls12-381-hash
-
bls12-381-js
>= "0.4.2"
-
bls12-381-js-gen
>= "0.4.2"
- bls12-381-legacy
- bls12-381-signature
- bls12-381-unix
- blurhash
- brisk-reconciler
- builder-web
- bytebuffer
- ca-certs
- ca-certs-nss
- cachet
- cachet-lwt
- cachet-solo5
- cactus
- caldav
-
calendar
>= "3.0.0"
- callipyge
- camlix
- camlkit
- camlkit-base
- capnp-rpc
-
capnp-rpc-lwt
< "0.3.1"
-
capnp-rpc-mirage
>= "0.9.0"
-
capnp-rpc-unix
>= "0.9.0"
-
caqti
>= "1.7.0"
-
caqti-async
>= "1.7.0"
-
caqti-driver-mariadb
>= "1.7.0"
-
caqti-driver-postgresql
>= "1.7.0"
-
caqti-driver-sqlite3
>= "1.7.0"
-
caqti-dynload
>= "2.0.1"
- caqti-eio
-
caqti-lwt
>= "1.7.0"
- caqti-miou
- carray
-
carton
< "1.0.0"
- carton-git
-
carton-lwt
>= "0.4.1" & < "1.0.0"
-
catala
>= "0.6.0"
- cborl
- cf-lwt
- chacha
- chamelon
- chamelon-unix
- charrua-client
- charrua-client-lwt
-
charrua-client-mirage
< "0.11.0"
-
charrua-server
>= "1.4.1"
- checked_oint
-
checkseum
>= "0.0.3"
- cid
- clarity-lang
- class_group_vdf
- cohttp
- cohttp-curl-async
- cohttp-curl-lwt
-
cohttp-eio
>= "6.0.0~beta2"
-
colombe
>= "0.2.0"
- color
- commons
- conan
- conan-cli
- conan-database
- conan-lwt
- conan-unix
-
conex
< "0.10.0"
- conex-mirage-crypto
- conex-nocrypto
- conformist
- cookie
- corosync
-
cow
>= "2.2.0"
- css
- css-parser
-
cstruct
>= "3.3.0"
- cstruct-sexp
- ctypes-zarith
- cuid
- curly
-
current
>= "0.4"
- current-albatross-deployer
-
current_git
>= "0.6.4"
- current_incr
- data-encoding
- dates_calc
- dbase4
-
decimal
>= "0.3.0"
- decompress
- depyt
-
digestif
>= "0.8.1"
- dirsp-exchange-kbb2017
- dirsp-proscript-mirage
- dirsp-ps2ocaml
-
dispatch
>= "0.4.1"
- dkim
- dkim-bin
- dkim-mirage
- dkml-dune-dsl-show
- dkml-install
- dkml-install-installer
- dkml-install-runner
- dkml-package-console
-
dns
>= "4.0.0"
- dns-cli
-
dns-client
>= "4.6.0"
- dns-forward-lwt-unix
- dns-resolver
- dns-server
- dns-tsig
- dnssd
- dnssec
-
docfd
>= "2.2.0"
-
dockerfile
>= "8.2.2"
-
domain-local-await
>= "0.2.1"
- domain-local-timeout
- domain-name
-
dot-merlin-reader
= "5.3~5.3preview"
- dream
- dream-htmx
- dream-pure
-
dscheck
>= "0.1.1"
- duff
-
dune-deps
>= "1.4.0"
-
dune-release
>= "1.0.0"
-
duration
>= "0.1.1"
- echo
-
eio
< "0.12"
- eio_linux
- eio_windows
- emile
- encore
-
eqaf
>= "0.5"
- equinoxe
- equinoxe-cohttp
- equinoxe-hlc
- ezgzip
- ezjsonm
- ezjsonm-lwt
- FPauth
- FPauth-core
- FPauth-responses
- FPauth-strategies
-
faraday
!= "0.2.0"
- farfadet
- fat-filesystem
- ff
- ff-pbt
- flex-array
- fsevents-lwt
- functoria
-
functoria-runtime
>= "2.2.0" & < "3.0.1" | = "3.1.2"
- fungi
- geojson
-
geoml
>= "0.1.1"
- git
- git-cohttp
- git-cohttp-mirage
- git-cohttp-unix
-
git-kv
>= "0.1.0" & < "0.1.3"
- git-mirage
- git-split
-
git-unix
= "2.0.0" | >= "2.1.1"
- gitlab-unix
- glicko2
-
gmap
>= "0.3.0"
- gobba
- gpt
- graphql
- graphql-async
-
graphql-cohttp
>= "0.13.0"
- graphql-lwt
-
graphql_parser
!= "0.11.0"
- graphql_ppx
- h1
- h1_parser
- h2
- hacl
-
hacl-star
>= "0.6.0"
- hacl_func
-
hacl_x25519
>= "0.2.0"
- highlexer
- hkdf
- hockmd
- html_of_jsx
- http
-
http-multipart-formdata
< "2.0.0"
-
httpaf
>= "0.2.0"
- httpcats
- httpun
- httpun-ws
- hvsock
-
icalendar
>= "0.1.4"
- imagelib
- index
-
inferno
>= "20220603"
- influxdb-async
- influxdb-lwt
-
inquire
< "0.2.0"
- interval-map
- iomux
-
irmin
!= "2.3.0"
-
irmin-bench
>= "2.7.0"
-
irmin-chunk
>= "2.3.0"
- irmin-cli
- irmin-containers
-
irmin-fs
>= "2.3.0"
-
irmin-git
>= "2.3.0"
-
irmin-graphql
>= "2.3.0"
-
irmin-mem
>= "2.3.0"
-
irmin-pack
>= "2.4.0" & != "2.6.1"
- irmin-pack-tools
-
irmin-test
< "3.4.0" | >= "3.9.0"
- irmin-tezos
- irmin-tezos-utils
-
irmin-unix
>= "2.4.0" & != "2.6.1"
-
irmin-watcher
>= "0.4.0"
- jekyll-format
- jose
-
json-data-encoding
>= "0.9"
- json_decoder
- jsonxt
-
junit_alcotest
>= "2.2.0"
- jwto
-
kcas
>= "0.6.0"
-
kcas_data
>= "0.6.0"
- kdf
-
ke
>= "0.2"
- kkmarkdown
- kmt
- lambda-runtime
- lambda_streams
- lambda_streams_async
- lambdapi
-
ledgerwallet-tezos
>= "0.2.1" & < "0.4.0"
- letters
-
lmdb
>= "1.0"
-
lockfree
>= "0.3.1"
- logical
-
logtk
>= "1.6"
- lp
- lp-glpk
- lp-glpk-js
- lp-gurobi
- lru
- lt-code
- luv
- mazeppa
- mbr-format
-
mdx
>= "1.6.0"
- mec
-
mechaml
>= "1.2.1"
-
merlin
>= "4.17.1-414" & < "4.18-414" | >= "5.2.1-502" & < "5.3-502"
-
merlin-lib
>= "4.17.1-414" & < "5.0-502" | >= "5.2.1-502"
- metrics
- middleware
- mimic
-
minicaml
= "0.3.1" | >= "0.4"
-
mirage
>= "4.0.0~beta1"
- mirage-block-partition
-
mirage-block-ramdisk
>= "0.6"
-
mirage-channel
>= "4.0.1"
-
mirage-channel-lwt
< "3.1.0"
-
mirage-crypto-ec
>= "0.10.0"
-
mirage-flow-unix
< "1.3.0" | >= "3.0.0"
- mirage-fs-mem
-
mirage-kv
>= "2.0.0"
-
mirage-kv-unix
>= "3.0.0"
-
mirage-logs
>= "0.3.0"
- mirage-nat
- mirage-net-unix
-
mirage-runtime
>= "4.0.0~beta1" & < "4.5.0"
- mirage-tc
- mirage-vnetif-stack
- mjson
-
mmdb
< "0.3.0"
- mnd
- mqtt
-
mrmime
>= "0.2.0"
-
msgpck
>= "1.6"
-
mssql
>= "2.0.3"
- multibase
-
multicore-magic
>= "1.0.1"
- multihash
- multihash-digestif
- multipart-form-data
- multipart_form
- multipart_form-eio
- multipart_form-lwt
- named-pipe
- nanoid
-
nbd
>= "4.0.3"
- nbd-tool
- nloge
- nocoiner
- non_empty_list
-
OCADml
>= "0.6.0"
- obatcher
-
ocaml-index
= "1.1"
-
ocaml-r
>= "0.4.0"
-
ocaml-version
>= "3.1.0"
-
ocamlformat
>= "0.13.0" & < "0.25.1"
- ocamlformat-lib
- ocamlformat-mlx-lib
-
ocamlformat-rpc
< "removed"
- ocamline
- ocluster
- octez-bls12-381-hash
- octez-bls12-381-signature
- octez-libs
- octez-mec
-
odoc
< "2.1.0"
- ohex
- oidc
- opam-0install
-
opam-0install-cudf
>= "0.5.0"
- opam-compiler
-
opam-file-format
>= "2.1.1"
-
opentelemetry
>= "0.6"
-
opentelemetry-client-cohttp-lwt
>= "0.6"
-
opentelemetry-client-ocurl
>= "0.6"
-
opentelemetry-cohttp-lwt
>= "0.6"
-
opentelemetry-lwt
>= "0.6"
- opium
- opium-graphql
- opium-testing
- opium_kernel
- orewa
- orgeat
- ortac-core
-
osnap
< "0.3.0"
- osx-acl
- osx-attr
- osx-cf
- osx-fsevents
- osx-membership
- osx-mount
- osx-xattr
- otoggl
-
owl
>= "0.7.0" & != "0.9.0" & != "1.0.0"
-
owl-base
< "0.5.0"
-
owl-ode
>= "0.1.0" & != "0.2.0"
- owl-symbolic
- par_incr
- passmaker
- patch
- pbkdf
-
pecu
>= "0.2"
- pf-qubes
-
pg_query
>= "0.9.6"
-
pgx
>= "1.0"
-
pgx_unix
>= "1.0"
- pgx_value_core
- pgx_value_ptime
- phylogenetics
- piaf
-
picos
< "0.5.0"
- picos_meta
- piece_rope
-
plebeia
>= "2.0.0"
- polyglot
- polynomial
-
ppx_blob
>= "0.3.0"
- ppx_catch
- ppx_deriving_cmdliner
- ppx_deriving_ezjsonm
- ppx_deriving_qcheck
- ppx_deriving_rpc
- ppx_deriving_yaml
- ppx_inline_alcotest
- ppx_map
- ppx_mica
- ppx_parser
-
ppx_protocol_conv
>= "5.0.0"
-
ppx_protocol_conv_json
>= "5.0.0"
-
ppx_protocol_conv_jsonm
>= "5.0.0"
-
ppx_protocol_conv_msgpack
>= "5.0.0"
-
ppx_protocol_conv_xml_light
>= "5.0.0"
- ppx_protocol_conv_xmlm
-
ppx_protocol_conv_yaml
>= "5.0.0"
- ppx_repr
- ppx_subliner
- ppx_units
-
ppx_yojson
>= "1.1.0"
- pratter
-
prbnmcn-ucb1
>= "0.0.2"
- prc
- preface
- pretty_expressive
- prettym
- proc-smaps
- producer
- progress
- prom
-
prometheus
< "1.2"
- prometheus-app
- protocell
-
protocol-9p
< "0.11.0" | >= "0.11.2"
- protocol-9p-unix
- psq
- pyast
-
qcheck
>= "0.18"
- qcheck-alcotest
-
qcheck-core
>= "0.18"
- quickjs
- randii
- reason-standard
- red-black-tree
-
reparse
>= "2.0.0" & < "3.0.0"
-
reparse-unix
< "2.1.0"
- resp
-
resp-unix
>= "0.10.0"
-
resto
>= "0.9"
-
rfc1951
< "1.0.0"
-
routes
< "2.0.0"
-
rpc
>= "7.1.0"
-
rpclib
>= "7.1.0"
- rpclib-async
-
rpclib-lwt
>= "7.1.0"
-
rpmfile
< "0.3.0"
- rpmfile-eio
- rpmfile-unix
-
SZXX
>= "4.0.0"
- salsa20
- salsa20-core
-
sanddb
>= "0.2"
-
saturn
!= "0.4.1"
-
saturn_lockfree
!= "0.4.1"
- scrypt-kdf
-
secp256k1
>= "0.4.1"
- secp256k1-internal
-
semver
>= "0.2.1"
- sendmail
- sendmail-lwt
- sendmail-miou-unix
- sendmail-mirage
- sendmsg
- seqes
- server-reason-react
- session-cookie
- session-cookie-async
- session-cookie-lwt
- sherlodoc
-
sihl
< "0.2.0"
- sihl-type
- slug
- smaws-clients
- smaws-lib
- smol
- smol-helpers
- sodium-fmt
- solidity-alcotest
- spdx_licenses
-
spectrum
>= "0.2.0"
-
spin
>= "0.7.0"
- spurs
- squirrel
- ssh-agent
-
ssl
>= "0.6.0"
- starred_ml
- stramon-lib
- styled-ppx
- swapfs
- syslog-rfc5424
- tabr
-
tar-mirage
>= "2.4.0"
-
tcpip
< "3.4.2" | >= "6.2.0"
-
tdigest
< "2.1.0"
- term-indexing
- term-tools
- terminal
-
terminal_size
>= "0.1.1"
- terminus
- terminus-cohttp
- terminus-hlc
- terml
- testo
- testo-lwt
-
textmate-language
>= "0.3.0"
- textrazor
-
tezos-base-test-helpers
< "17.3"
- tezos-bls12-381-polynomial
-
tezos-client-base
< "17.3"
-
tezos-client-base-unix
< "17.3"
-
tezos-crypto
>= "16.0" & < "17.3"
-
tezos-crypto-dal
< "17.3"
-
tezos-error-monad
>= "12.3" & < "17.3"
-
tezos-event-logging-test-helpers
< "17.3"
-
tezos-plompiler
= "0.1.3"
-
tezos-plonk
= "0.1.3"
-
tezos-shell-services
>= "16.0" & < "17.3"
-
tezos-stdlib
!= "12.3" & < "17.3"
-
tezos-test-helpers
< "17.3"
-
tezos-version
>= "16.0" & < "17.3"
-
tezos-webassembly-interpreter
< "17.3"
- thread-table
- timedesc
- timere
- timmy
- timmy-jsoo
- timmy-lwt
- timmy-unix
-
tls
>= "0.12.0"
- toc
- topojson
- topojsone
- trail
- traits
- transept
-
tsort
>= "2.2.0"
- twostep
- type_eq
- type_id
- typebeat
-
typeid
>= "1.0.1"
-
tyre
>= "0.4"
-
tyxml
>= "4.2.0"
- tyxml-jsx
-
tyxml-ppx
>= "4.3.0"
- tyxml-syntax
- uecc
- ulid
- universal-portal
- unix-dirent
- unix-errno
- unix-sys-resource
- unix-sys-stat
- unix-time
- unstrctrd
-
uring
< "0.4"
- user-agent-parser
- uspf
- uspf-lwt
- uspf-mirage
- uspf-unix
-
utop
>= "2.13.0"
- validate
- validator
- vercel
-
vhd-format-lwt
>= "0.13.0"
- vpnkit
-
wayland
>= "2.0"
- wcwidth
- websocketaf
-
x509
>= "0.7.0"
- xapi-rrd
- xapi-stdext-date
- xapi-stdext-encodings
-
xapi-stdext-std
>= "4.16.0"
- xkbcommon
- yaml
- yaml-sexp
- yocaml
-
yocaml_syndication
>= "2.0.0"
-
yocaml_yaml
< "2.0.0"
-
yojson
>= "1.6.0"
- yojson-five
-
yuscii
>= "0.3.0"
-
yuujinchou
>= "1.0.0"
- zar
-
zed
>= "3.2.2"
-
zlist
< "0.4.0"
Conflicts (2)
-
js_of_ocaml-compiler
< "5.8"
-
result
< "1.5"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page