Named unittests
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed May 22 02:04:04 UTC 2019
On 5/21/19 10:20 AM, Atila Neves wrote:
> On Saturday, 18 May 2019 at 14:56:16 UTC, Andrei Alexandrescu wrote:
>> On 5/18/19 2:20 PM, Adam D. Ruppe wrote:
>>> On Saturday, 18 May 2019 at 05:49:00 UTC, H. S. Teoh wrote:
>>>> Dmd already has -run, so it's not too much of a stretch to change
>>>> the behaviour of -unittest into the equivalent of today's:
>>>>
>>>> dmd -unittest -run blah.d
>>>
>>> Actually, right after I went to bed, I realized the solution to
>>> everyone's problem.
>>>
>>> We all want `-unittest=package,list` to control which tests are run.
>>
>> 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?
>
> I frequently only run a few unit tests - usually the ones that are
> currently failing. To me at least it's a question of screen real estate
> and attention.
That's a good argument, thanks.
More information about the Digitalmars-d
mailing list