How to make opam execute the build-test target of a package's opam file?

opam

#1

opam test <package> # would have been nice …


#2

I think it’s opam install --build-test <package> but as far as I remember that also installs the package


#3

Thanks!
And, by adding -v we actually see if something is really happening:

opam install -v --build-test <package>