Named unittests

Walter Bright newshound2 at digitalmars.com
Sun May 19 16:27:39 UTC 2019


On 5/18/2019 8:21 AM, H. S. Teoh wrote:
> This should be pretty easy once we implement --DRT-run-unittests to only
> run unittests and skip over main().

Actually, I'd just change the behavior so if any unittests are in the 
executable, they are run and main() is not. main() is run only if there are no 
unittests.

In my experience, I've never wanted to run both in the same executable.


More information about the Digitalmars-d mailing list