ocaml / dune

A composable build system for OCaml.
https://dune.build/
MIT License
1.64k stars 410 forks source link

feature: add aliases for inline tests #11109

Open Alizter opened 1 week ago

Alizter commented 1 week ago

For a given library with inlines tests, we add an alias with the name of the library for running those tests.

Further work on separating out the partition actions would allow us to have an alias for each partition.

For now, this will allow us to run inline tests with the runtest command. Further work on that will follow this PR.

This addresses part of https://github.com/ocaml/dune/issues/10239 the remaining part would be to add an alias to the (test) stanza.