Testing with nearly all packages in code.dlang.org

Atila Neves atila.neves at gmail.com
Tue Sep 19 22:10:18 UTC 2023


On Tuesday, 19 September 2023 at 21:44:11 UTC, Adam D Ruppe wrote:
> On Tuesday, 19 September 2023 at 21:37:32 UTC, Atila Neves 
> wrote:
>> 1362 of them returned 0 for `dub build`, or about 57%. It's 
>> probably a good idea to actually do `dub build 
>> --build=unittest` since that'll include more D code.
>
> It is vital to try the various subpackages to get decent 
> coverage; dub build ignores them unless they are declared as 
> explicit dependencies on the top level thing.

That's usually the case though, no?

Other than manually crawling through the filesystem after 
downloading the package for dub.sdl/dub.json files I don't know 
how to do this generally. And even then that might not work 
because they might not be meant to be used that way.

This is a lot more coverage than before though, but of course I'm 
open to suggestions on how to avoid breakage even further.


More information about the Digitalmars-d mailing list