The [documentation should be updated](https://opam.ocaml.org/doc/Manual.html#Package-variables) as it says that `with-test` is available inside `run-test` while [it is not the case](https://github.com/ocaml/opam-repository/pull/12922#issuecomment-435691357).