Running unit tests from DUB single file packages

drug drug2004 at bk.ru
Tue Dec 22 07:52:36 UTC 2020


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.


More information about the Digitalmars-d-learn mailing list