Running unit tests from DUB single file packages

drug drug2004 at bk.ru
Tue Dec 22 15:06:09 UTC 2020


On 12/22/20 10:52 AM, drug wrote:
> On 12/21/20 7:31 PM, jmh530 wrote:
>> On Monday, 21 December 2020 at 11:31:49 UTC, drug wrote:
>>> [snip]
>>> Unfortunately I'm very busy. But I check it again and it turns out 
>>> that the fix does not resolve the problem completely. This PR just 
>>> remove the single file from testing so currently dub does not run 
>>> unit tests in the single file package at all. The first variant 
>>> (https://github.com/dlang/dub/pull/2050) fixes the issue indeed. I 
>>> need to reevaluate these PRs and close the issue. I'll do it later.
>>
>> Thanks for taking a look.
> 
> Not at all.
> 
> But what do you mean exactly by "work with dependency"? As I understand, 
> `dub test` does not run unit tests in dependencies and single file 
> packages work with dependencies in general. Do you mean something else? 
> I'm finishing the new PR to fix #2051 finally and I'd like to know if 
> there is something else I should include in it.

https://github.com/dlang/dub/pull/2064


More information about the Digitalmars-d-learn mailing list