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

Conflicts (1)

  1. result < "1.5"