Running unit tests from DUB single file packages

jmh530 john.michael.hall at gmail.com
Tue Dec 1 15:52:51 UTC 2020


On Tuesday, 1 December 2020 at 14:15:22 UTC, Johannes Loher wrote:
> [snip]
>
> The point of using DUB (and the single file package format) is 
> easy access to libraries from the DUB registry. If I didn't 
> want to use a dependency, I would not be using DUB at all. That 
> said, leaving out the dependency does not solve the issue, it 
> also occurs with the following source file:
>

Thanks. The reason I was asking was because if you've ever tried 
run.dlang.org with dependencies and unit tests, then you'll 
notice that the unittests are skipped, which is basically the 
same issue you are having. If you remove the dependencies, then 
it works. So I was thinking that whatever they used to get 
run.dlang.org working without dependencies might help you. I had 
hoped to try to get run.dlang.org working with dependencies and 
unittests, but haven't found the time to get a solution. Maybe 
this PR might improve matters...




More information about the Digitalmars-d-learn mailing list