Named unittests
Walter Bright
newshound2 at digitalmars.com
Sun May 19 16:17:05 UTC 2019
On 5/18/2019 10:52 AM, Andrei Alexandrescu wrote:
> On 5/18/19 4:02 PM, Nicholas Wilson wrote:
>> On Saturday, 18 May 2019 at 14:56:16 UTC, Andrei Alexandrescu wrote:
>>> Doesn't that seem a bit much? It seems to me you either want to run unittests
>>> or not, why run just a few? Going with the typechecking metaphor - do we want
>>> to check some modules but not others?
>>
>> You almost always want to run _your_ tests not your dependencies tests,
>> presumably they have already been tested and therefore do not need to be run.
>
> Wouldn't the dependencies be built separately (i.e. with a different compiler
> invocation)?
That's right. Also, running the unittests shouldn't be a time consuming
operation, so there shouldn't be an issue even if the dependency unittests were run.
More information about the Digitalmars-d
mailing list