package alcotest

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-js-1.5.0.tbz
sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c
sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45

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: 12 Oct 2021

Dependencies (9)

  1. ocaml-syntax-shims
  2. uutf >= "1.0.1"
  3. stdlib-shims
  4. re >= "1.7.2"
  5. cmdliner >= "1.0.0" & < "2.0.0"
  6. astring
  7. fmt >= "0.8.7"
  8. ocaml >= "4.03.0"
  9. dune >= "2.8"

Dev Dependencies (2)

  1. odoc with-doc
  2. cmdliner with-test & < "1.1.0"

  1. ahrocksdb
  2. albatross >= "1.5.4"
  3. alcotest-async < "1.7.0"
  4. alg_structs_qcheck
  5. algaeff
  6. ambient-context
  7. ambient-context-eio
  8. ambient-context-lwt
  9. angstrom >= "0.7.0"
  10. ansi >= "0.6.0"
  11. anycache >= "0.7.4"
  12. anycache-async
  13. anycache-lwt
  14. arc
  15. archetype >= "1.4.2"
  16. archi
  17. arp
  18. arrakis < "1.1.0"
  19. art
  20. asai
  21. asak >= "0.2"
  22. asli >= "0.2.0"
  23. asn1-combinators >= "0.2.5"
  24. atd >= "2.3.3"
  25. atdgen >= "2.10.0"
  26. atdpy
  27. atdts
  28. base32
  29. base64 >= "2.1.2" & < "3.2.0" | >= "3.4.0"
  30. bastet
  31. bastet_async
  32. bastet_lwt
  33. bech32
  34. bechamel >= "0.5.0"
  35. bigarray-overlap
  36. bigstringaf
  37. bitlib
  38. blake2
  39. bloomf
  40. bls12-381 < "0.4.1" | >= "3.0.0" & < "18.0"
  41. bls12-381-hash
  42. bls12-381-js >= "0.4.2"
  43. bls12-381-js-gen >= "0.4.2"
  44. bls12-381-legacy
  45. bls12-381-signature
  46. bls12-381-unix
  47. blurhash
  48. brisk-reconciler
  49. builder-web
  50. bytebuffer
  51. ca-certs
  52. ca-certs-nss
  53. cactus
  54. caldav
  55. calendar >= "3.0.0"
  56. callipyge
  57. camlix
  58. camlkit
  59. camlkit-base
  60. capnp-rpc < "1.2.3"
  61. capnp-rpc-unix < "1.2.3"
  62. caqti >= "1.7.0"
  63. caqti-async >= "1.7.0"
  64. caqti-driver-mariadb >= "1.7.0"
  65. caqti-driver-postgresql >= "1.7.0"
  66. caqti-driver-sqlite3 >= "1.7.0"
  67. caqti-dynload >= "2.0.1"
  68. caqti-eio
  69. caqti-lwt >= "1.7.0"
  70. caqti-miou
  71. carray
  72. carton < "1.0.0"
  73. carton-git
  74. carton-lwt >= "0.4.3" & < "1.0.0"
  75. catala >= "0.6.0"
  76. cborl
  77. cf-lwt
  78. chacha
  79. chamelon
  80. chamelon-unix
  81. charrua-client
  82. charrua-server
  83. checkseum >= "0.0.3"
  84. cid
  85. clarity-lang
  86. class_group_vdf
  87. cohttp < "6.0.0"
  88. cohttp-curl-async < "6.1.0"
  89. cohttp-eio = "6.0.0~beta2"
  90. colombe >= "0.2.0"
  91. color
  92. commons
  93. conan
  94. conan-cli
  95. conan-database
  96. conan-lwt
  97. conan-unix
  98. conex < "0.10.0"
  99. conex-mirage-crypto
  100. conformist
  101. cookie
  102. cow >= "2.2.0"
  103. crockford
  104. css
  105. css-parser
  106. cstruct
  107. cstruct-sexp
  108. ctypes-zarith
  109. cuid
  110. curly
  111. current
  112. current-albatross-deployer
  113. current_git >= "0.7.1"
  114. current_incr
  115. data-encoding
  116. dates_calc
  117. dbase4
  118. decimal >= "0.3.0"
  119. decompress < "1.5.3"
  120. depyt
  121. digestif >= "0.9.0"
  122. dirsp-exchange-kbb2017
  123. dirsp-proscript-mirage
  124. dirsp-ps2ocaml
  125. dispatch >= "0.4.1"
  126. dkim
  127. dkim-bin
  128. dkim-mirage
  129. dkml-dune-dsl-show
  130. dkml-install
  131. dkml-install-installer
  132. dkml-install-runner
  133. dkml-package-console
  134. dmarc
  135. dns >= "4.4.1"
  136. dns-cli
  137. dns-client >= "4.6.3"
  138. dns-forward-lwt-unix
  139. dns-resolver
  140. dns-server
  141. dns-tsig
  142. dnssd
  143. dnssec
  144. docfd >= "2.2.0"
  145. domain-name
  146. dream
  147. dream-pure
  148. duff
  149. dune-deps >= "1.4.0"
  150. dune-release >= "1.0.0"
  151. duration
  152. echo
  153. eio < "0.12"
  154. eio_linux < "0.12"
  155. eio_windows < "0.12"
  156. emile
  157. encore
  158. eqaf >= "0.5"
  159. equinoxe
  160. equinoxe-cohttp
  161. equinoxe-hlc
  162. ezgzip
  163. ezjsonm
  164. ezjsonm-lwt
  165. FPauth
  166. FPauth-core
  167. FPauth-responses
  168. FPauth-strategies
  169. faraday != "0.2.0"
  170. farfadet
  171. fat-filesystem
  172. fehu
  173. ff
  174. ff-pbt
  175. flex-array
  176. flux
  177. fluxt
  178. forester >= "5.0"
  179. fsevents-lwt
  180. functoria
  181. fungi
  182. geojson
  183. geoml >= "0.1.1"
  184. git
  185. git-cohttp
  186. git-cohttp-unix
  187. git-kv >= "0.2.0"
  188. git-mirage
  189. git-net
  190. git-split
  191. git-unix
  192. gitlab-unix
  193. glicko2
  194. gmap
  195. gobba
  196. gpt
  197. graphql
  198. graphql-async
  199. graphql-cohttp >= "0.13.0"
  200. graphql-lwt
  201. graphql_parser != "0.11.0"
  202. graphql_ppx
  203. h1
  204. h1_parser
  205. h2
  206. hacl
  207. hacl-star >= "0.6.0" & < "0.7.2"
  208. hacl_func
  209. hacl_x25519
  210. handlebars-ml >= "0.2.1"
  211. highlexer
  212. hkdf
  213. hockmd
  214. html_of_jsx
  215. http < "6.0.0"
  216. http-multipart-formdata < "2.0.0"
  217. httpaf >= "0.2.0"
  218. httpun
  219. httpun-ws
  220. hugin
  221. huml
  222. hvsock
  223. icalendar
  224. imagelib
  225. index
  226. inferno >= "20220603"
  227. influxdb-async
  228. influxdb-lwt
  229. inquire < "0.2.0"
  230. interval-map
  231. iomux
  232. irmin
  233. irmin-bench
  234. irmin-chunk
  235. irmin-cli
  236. irmin-containers
  237. irmin-fs
  238. irmin-git
  239. irmin-graphql
  240. irmin-pack
  241. irmin-pack-tools
  242. irmin-test < "3.6.1"
  243. irmin-tezos
  244. irmin-unix
  245. irmin-watcher
  246. jekyll-format
  247. jose
  248. json-data-encoding >= "0.9" & < "1.1.1"
  249. json_decoder
  250. jsonfeed
  251. jsonxt
  252. junit_alcotest < "2.1.0"
  253. jwto
  254. kaun
  255. kdf
  256. ke >= "0.2"
  257. kkmarkdown
  258. kmt
  259. lambda-runtime
  260. lambda_streams
  261. lambda_streams_async
  262. lambdapi
  263. ledgerwallet-tezos >= "0.2.1" & < "0.4.0"
  264. letters
  265. liquid_ml >= "0.1.3"
  266. lmdb >= "1.0"
  267. logical
  268. logtk >= "1.6"
  269. lp
  270. lp-glpk
  271. lp-glpk-js < "0.5.0"
  272. lp-gurobi < "0.5.0"
  273. lru
  274. lt-code
  275. luv
  276. mbr-format
  277. mdx >= "1.6.0"
  278. mec
  279. mechaml >= "1.2.1"
  280. merlin = "4.17.1-501"
  281. merlin-lib >= "4.17.1-501"
  282. metrics
  283. middleware
  284. mimic
  285. minicaml = "0.3.1" | >= "0.4"
  286. mirage >= "4.0.0"
  287. mirage-block-partition
  288. mirage-block-ramdisk
  289. mirage-channel >= "4.0.1"
  290. mirage-crypto-ec
  291. mirage-flow-unix
  292. mirage-kv >= "2.0.0"
  293. mirage-kv-mem
  294. mirage-kv-unix >= "3.0.0"
  295. mirage-logs
  296. mirage-nat
  297. mirage-net-unix
  298. mirage-runtime < "4.7.0"
  299. mirage-tc
  300. mjson
  301. mlgpx
  302. mmdb < "0.3.0"
  303. mnd
  304. mqtt
  305. mrmime >= "0.2.0"
  306. msgpck >= "1.6"
  307. mssql >= "2.0.3"
  308. multibase
  309. multihash
  310. multihash-digestif
  311. multipart-form-data
  312. multipart_form
  313. multipart_form-eio
  314. multipart_form-lwt
  315. multipart_form-miou
  316. named-pipe
  317. nanoid
  318. nbd >= "4.0.3"
  319. nbd-tool
  320. neo4j_bolt
  321. nloge
  322. nocoiner
  323. non_empty_list
  324. nx
  325. nx-datasets
  326. nx-text
  327. OCADml >= "0.6.0"
  328. obatcher
  329. ocaml-index < "5.4.1-503"
  330. ocaml-r >= "0.4.0"
  331. ocaml-version >= "3.5.0"
  332. ocamlformat >= "0.13.0" & < "0.25.1"
  333. ocamlformat-lib
  334. ocamlformat-mlx-lib
  335. ocamlformat-rpc < "removed"
  336. ocamline
  337. ocluster < "0.3.0"
  338. octez-bls12-381-hash
  339. octez-bls12-381-signature
  340. octez-libs
  341. octez-mec
  342. ocue
  343. odoc < "2.1.1"
  344. oenv >= "0.1.0"
  345. ohex
  346. oidc
  347. opam-0install
  348. opam-0install-cudf >= "0.5.0"
  349. opam-compiler
  350. opam-file-format >= "2.1.1"
  351. opencage
  352. opentelemetry >= "0.6"
  353. opentelemetry-client-cohttp-eio
  354. opentelemetry-client-cohttp-lwt >= "0.6"
  355. opentelemetry-client-ocurl >= "0.6"
  356. opentelemetry-cohttp-lwt >= "0.6"
  357. opentelemetry-logs
  358. opentelemetry-lwt >= "0.6"
  359. opium
  360. opium-graphql
  361. opium-testing
  362. opium_kernel
  363. orewa
  364. orgeat
  365. ortac-core
  366. ortac-wrapper
  367. osnap < "0.3.0"
  368. osx-acl
  369. osx-attr
  370. osx-cf
  371. osx-fsevents
  372. osx-membership
  373. osx-mount
  374. osx-xattr
  375. otoggl
  376. owl >= "0.7.0" & != "0.9.0" & != "1.0.0"
  377. owl-base < "0.5.0"
  378. owl-ode >= "0.1.0" & != "0.2.0"
  379. owl-symbolic
  380. passmaker
  381. patch < "3.0.0~alpha2"
  382. pbkdf
  383. pecu >= "0.2"
  384. pf-qubes
  385. pg_query >= "0.9.6"
  386. pgx >= "1.0"
  387. pgx_unix >= "1.0"
  388. pgx_value_core
  389. pgx_value_ptime
  390. phylogenetics
  391. piaf
  392. plebeia >= "2.0.0"
  393. polyglot
  394. polynomial
  395. ppx_blob >= "0.3.0"
  396. ppx_deriving_cmdliner
  397. ppx_deriving_ezjsonm
  398. ppx_deriving_qcheck
  399. ppx_deriving_rpc
  400. ppx_deriving_yaml
  401. ppx_inline_alcotest
  402. ppx_marshal
  403. ppx_parser
  404. ppx_protocol_conv >= "5.0.0"
  405. ppx_protocol_conv_json >= "5.0.0"
  406. ppx_protocol_conv_jsonm >= "5.0.0"
  407. ppx_protocol_conv_msgpack >= "5.0.0"
  408. ppx_protocol_conv_xml_light >= "5.0.0"
  409. ppx_protocol_conv_xmlm
  410. ppx_protocol_conv_yaml >= "5.0.0"
  411. ppx_repr
  412. ppx_subliner
  413. ppx_units
  414. ppx_yojson >= "1.1.0"
  415. pratter
  416. prbnmcn-ucb1 >= "0.0.2"
  417. prc
  418. preface
  419. pretty_expressive
  420. prettym
  421. proc-smaps
  422. producer < "0.2.0"
  423. progress
  424. prom
  425. prometheus < "1.2"
  426. prometheus-app
  427. protocell
  428. protocol-9p < "0.11.0" | >= "0.11.2"
  429. protocol-9p-unix
  430. proton
  431. psq
  432. public-suffix
  433. pyast
  434. qcaml
  435. qcheck >= "0.25"
  436. qcheck-alcotest
  437. qcheck-core >= "0.25"
  438. query-json
  439. quickjs
  440. quill
  441. randii
  442. reason-standard
  443. red-black-tree
  444. reparse >= "2.0.0" & < "3.0.0"
  445. reparse-unix < "2.1.0"
  446. resp
  447. resp-unix >= "0.10.0"
  448. resto >= "0.8"
  449. rfc1951 < "1.0.0"
  450. routes < "2.0.0"
  451. rpc
  452. rpclib
  453. rpclib-async
  454. rpclib-lwt
  455. rpmfile < "0.3.0"
  456. rpmfile-eio
  457. rpmfile-unix
  458. rune
  459. SZXX >= "4.0.0"
  460. saga
  461. salsa20
  462. salsa20-core
  463. sanddb >= "0.2"
  464. scrypt-kdf
  465. secp256k1 >= "0.4.1"
  466. secp256k1-internal
  467. semver >= "0.2.1"
  468. sendmail
  469. sendmail-lwt
  470. sendmail-miou-unix
  471. sendmail-mirage
  472. sendmsg
  473. seqes
  474. server-reason-react
  475. session-cookie
  476. session-cookie-async
  477. session-cookie-lwt
  478. shakuhachi
  479. sherlodoc
  480. sihl < "0.2.0"
  481. sihl-type
  482. slug
  483. smaws-clients
  484. smaws-lib
  485. smol
  486. smol-helpers
  487. sodium-fmt
  488. solidity-alcotest
  489. sowilo
  490. spdx_licenses
  491. spectrum >= "0.2.0"
  492. spin >= "0.7.0"
  493. spurs < "0.1.1"
  494. squirrel
  495. ssh-agent
  496. ssl >= "0.6.0"
  497. stramon-lib
  498. stringx
  499. styled-ppx
  500. swapfs
  501. synchronizer >= "0.2"
  502. syslog-rfc5424 < "0.2"
  503. talon
  504. tcpip
  505. tdigest < "2.1.0"
  506. term-indexing
  507. term-tools
  508. terminal
  509. terminal_size >= "0.1.1"
  510. terminus
  511. terminus-cohttp
  512. terminus-hlc
  513. terml
  514. testo
  515. testo-lwt
  516. textmate-language >= "0.3.0"
  517. textrazor
  518. tezos-base-test-helpers < "17.3"
  519. tezos-bls12-381-polynomial
  520. tezos-client-base < "17.3"
  521. tezos-client-base-unix < "17.3"
  522. tezos-crypto >= "16.0" & < "17.3"
  523. tezos-crypto-dal < "17.3"
  524. tezos-error-monad >= "12.3" & < "17.3"
  525. tezos-event-logging-test-helpers < "17.3"
  526. tezos-plompiler = "0.1.3"
  527. tezos-plonk = "0.1.3"
  528. tezos-shell-services >= "16.0" & < "17.3"
  529. tezos-stdlib != "12.3" & < "17.3"
  530. tezos-test-helpers < "17.3"
  531. tezos-version >= "16.0" & < "17.3"
  532. tezos-webassembly-interpreter < "17.3"
  533. timedesc
  534. timere
  535. timmy
  536. timmy-jsoo
  537. timmy-lwt
  538. timmy-unix
  539. tls >= "0.12.8"
  540. toc
  541. topojson
  542. topojsone
  543. traits
  544. transept
  545. tsort >= "2.2.0"
  546. twostep
  547. type_eq
  548. type_id
  549. typeid >= "1.0.1"
  550. tyre >= "0.4"
  551. tyxml >= "4.2.0"
  552. tyxml-jsx
  553. tyxml-ppx >= "4.3.0"
  554. tyxml-syntax
  555. uecc
  556. ulid
  557. universal-portal
  558. unix-dirent
  559. unix-errno
  560. unix-sys-resource
  561. unix-sys-stat
  562. unix-time
  563. unstrctrd
  564. uring < "0.4"
  565. user-agent-parser
  566. uspf
  567. uspf-lwt
  568. uspf-mirage
  569. uspf-unix
  570. utop >= "2.13.0"
  571. validate
  572. validator
  573. vercel
  574. vhd-format-lwt >= "0.13.0"
  575. vpnkit
  576. wayland >= "2.0"
  577. wcwidth
  578. websocketaf
  579. x509 >= "0.7.0"
  580. xapi-rrd
  581. xapi-stdext-date
  582. xapi-stdext-encodings
  583. xapi-stdext-std >= "4.16.0"
  584. yaml
  585. yaml-sexp
  586. yocaml
  587. yocaml_syndication >= "2.0.0"
  588. yocaml_yaml < "2.0.0"
  589. yojson >= "1.6.0"
  590. yojson-five
  591. yuscii >= "0.3.0"
  592. yuujinchou >= "1.0.0"
  593. zar
  594. zed >= "3.2.2"
  595. zlist < "0.4.0"

Conflicts (1)

  1. result < "1.5"