Possible solution for export : `unittest export`?

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 2 14:07:16 PDT 2015


On Wednesday, 2 September 2015 at 09:28:49 UTC, Dominikus Dittes 
Scherkl wrote:
>> It is not unitestable.
> But we have concepts like "thread local per default" and 
> message passing that should make avoiding race conditions 
> easier. And concurrent code doesn't prevent us from testing all 
> paths of templates.

I was responding to the statement that you should unittest 
everything.

That is simply not true. For some code, this is not possible, for 
some other code, it gives poor noise to signal ratio.

Still, if a significant portion of the code is not unitested, you 
have a problem.



More information about the Digitalmars-d mailing list