unittest "name" {}

Max Samukha maxsamukha at gmail.com
Sun Feb 12 06:33:14 UTC 2023


On Friday, 10 February 2023 at 21:08:38 UTC, Dennis wrote:
> Names on unittests can be useful for documentation, a better 
> message on failure, or to selectively run a specific test.

I'd prefer `unittest name {}`. For documentation, there are doc 
comments. For error messages, we could have a standard 
@description attribute not specific to unittests (or treat an 
unqualified UDA string as such, or have a special doc section).


More information about the Digitalmars-d mailing list