Thread overview
Custom test runner
Sep 21, 2016
Nick Sabalausky
Sep 21, 2016
Jacob Carlborg
Sep 21, 2016
Nick Sabalausky
September 21, 2016
IIRC, there is some way to hook in and use a custom unittest-runner. How does one go about that?
September 21, 2016
On 2016-09-21 07:51, Nick Sabalausky wrote:
> IIRC, there is some way to hook in and use a custom unittest-runner. How
> does one go about that?

http://dlang.org/phobos/core_runtime.html#.Runtime.moduleUnitTester

-- 
/Jacob Carlborg
September 21, 2016
On 09/21/2016 02:26 AM, Jacob Carlborg wrote:
> On 2016-09-21 07:51, Nick Sabalausky wrote:
>> IIRC, there is some way to hook in and use a custom unittest-runner. How
>> does one go about that?
>
> http://dlang.org/phobos/core_runtime.html#.Runtime.moduleUnitTester
>

Cool, thanks.

I got that to work, and FWIW submitted a PR to add an example to the docs for that: https://github.com/dlang/druntime/pull/1656