(compiler+dub) flags to print file:line of the running unnitest

Julian Fondren julian.fondren at gmail.com
Mon Mar 16 23:24:29 UTC 2026


On Thursday, 12 March 2026 at 19:47:00 UTC, Dejan Lekic wrote:
> Yes, I could use some third-party package but I do not want to 
> add a new dependency to the project for something as trivial as 
> this.

If you're using dub, then the testing library need only be a 
testing dependency, like

```
configuration "release" {
     targetType "executable"
}
configuration "unittest" {
     targetType "library"
     dependency "silly" version="~>1.1.1"
}
```


More information about the Digitalmars-d mailing list