If I have a dune runtest
alias, I can include a package
field to only use the alias when building that package.
For example, if I have a package aplus
that depends on package a
in the same repo, I don’t want to try to run the tests for aplus
when just installing a
. So I can write (package aplus)
in the rule definition to say that I should only run those tests when I’m actually trying to build aplus
.
Is there a way to do this for inline tests?