# \[ANN\] Tezt 4.0.0

**URL:** https://discuss.ocaml.org/t/ann-tezt-4-0-0/13456
**Category:** Ecosystem
**Tags:** announce
**Created:** [November 20, 2023, 1:17pm UTC](https://discuss.ocaml.org/t/ann-tezt-4-0-0/13456 "2023-11-20T13:17:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rbardou](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rbardou](https://discuss.ocaml.org/u/rbardou)
#### Post date: [November 20, 2023, 1:17pm UTC](https://discuss.ocaml.org/t/ann-tezt-4-0-0/13456/1 "2023-11-20T13:17:09Z")

</div>

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](https://gitlab.com/tezos/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](https://github.com/rbardou/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 the `tezt.json` sublibrary.

See the [changelog](https://gitlab.com/nomadic-labs/tezt/-/blob/master/CHANGES.md#version-400) for the full list of changes, and the [API Documentation](https://nomadic-labs.gitlab.io/tezt/4.0.0/tezt/Tezt/index.html) for more details.

You can install Tezt with opam:

```auto
opam install tezt

```
