It is my pleasure to announce the release of version 4.0.0 of Tezt, a test framework for OCaml which is well suited for unit, integration and regression tests in particular. It is used for most Tezos tests.
The main highlights of this major release are:
--help
is much easier to read;- custom command-line arguments for tests can now be defined using Clap, and they will appear in
--help
; - tests can now be selected using generic predicates such as
'tag1 && (tag2 || file = test.ml)'
; - one can now use the
JSON
module without linking with all of Tezt, by linking with thetezt.json
sublibrary.
See the changelog for the full list of changes, and the API Documentation for more details.
You can install Tezt with opam:
opam install tezt