Am 03.12.2013 19:52, schrieb Jacob Carlborg: > On 2013-12-02 10:10, Sönke Ludwig wrote: > >> Using "dub test --main-file=...". See also "dub test --help". > > * Can this be specified in the package.json file so invoking "dub test" > will always use a custom main file?
Not in a nice way, but I'd suggest we do something like making "dub test" look for a configuration named "unittest" before trying to generate its own custom main. > > * Don't know how it works now but it would be nice if dub could pass all > remaining command line arguments to the custom main function > It does already: "dub test -- <args...>"