unittest "name" {}

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Sat Feb 11 15:13:50 UTC 2023


On Saturday, 11 February 2023 at 00:03:50 UTC, WebFreak001 wrote:
> I like this idea, and I think as @("") has already become the 
> de-facto standard across testing frameworks on DUB we can just 
> make it behave like that and everyone will be happy without 
> breaking changes + it's all quite an easy change for everyone.
>
> Maybe it's a good idea to do some critical thinking about this, 
> but let's not overdo it, I think this solution is quite 
> practical. (though I haven't have critically thought about this 
> yet very much)

This is kinda constraining, to a single form. If changes are to 
be done to language, then perhaps it would be best to consider 
also parameterized tests, interpolated test names, or test names 
that are not strings at all but something convertible to string.



More information about the Digitalmars-d mailing list