On Tuesday, 30 April 2024 at 17:02:51 UTC, Steven Schveighoffer wrote:
>I want to propose that we provide a mechanism to semantically detach unit tests from the scope they are written in. Such unittests would be treated as if they were not in the same scope or module. This includes detached unit tests inside templates. The only stipulation is that the current module is assumed imported.
[...]
What I do is put the tests in another module.