How can one reliably run unittests

Steven Schveighoffer schveiguy at gmail.com
Fri Sep 3 12:15:49 UTC 2021


On 9/2/21 9:08 PM, deadalnix wrote:
> By yourself, by Walter, by Steven. You guys are obviously smart, but you 
> aren't looking at this straight or even at all. Or you are drowning in 
> so much trash you don't even see it anymore, like a fish in water.

Or I haven't thought about or cared about a problem with unittests ever. 
I just use `dub test` or `dub -b unittest`, and it works as I expect -- 
all unittests in my project are run, no unittests in dependencies are 
run. No trash to drown in.

I'm not too concerned with your use cases, as the current system runs 
just fine for me, and if you don't like it, you can use a fancier test 
runner that provides more control. I don't see a problem with the 
existence of external unittest systems. The basic system is designed to 
allow you complete control if you don't like the default, and the 
default is fine for most people.

I'm kinda done with this thread anyway, about to kill it...

-Steve


More information about the Digitalmars-d mailing list