package alcotest
Alcotest is a lightweight and colourful test framework
Install
Dune Dependency
Authors
Maintainers
Sources
alcotest-1.8.0.tbz
sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e
sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d
doc/alcotest.engine/Alcotest_engine/Formatters/index.html
Module Alcotest_engine.Formatters
Source
Alcotest uses Format.std_formatter
and Format.err_formatter
formatters. However, in a parallel context (OCaml 5 and domains), using these values in parallel can lead to data-races, since these values are not domains-safe. As such, Alcotest offers a way to create your own formatter equivalent in behavior to Format.std_formatter
and Format.err_formatter
(i.e. they write well on 1
and 2
) but they can be used without risk even if another library (such as Logs
) uses Format.std_formatter
and/or Format.err_formatter
and is used in parallel.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>