unittest behaviour

monkyyy crazymonkyyy at gmail.com
Wed Dec 18 00:05:06 UTC 2024


On Tuesday, 17 December 2024 at 21:31:13 UTC, DLearner wrote:
> On Tuesday, 17 December 2024 at 19:56:32 UTC, H. S. Teoh wrote:
> [...]
>>
>> That means the compiler will have to rerun your program once 
>> per unittest.  That means your OS has to create a new process 
>> per unittest. If you have a lot of unittests, that adds a huge 
>> amount of overhead.
>
> Agreed, but only an issue when testing, not in production.

testing is where compile times matter

Only need to ship code once, ideally I compile code every few 
seconds


More information about the Digitalmars-d-learn mailing list