www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Custom test runner

reply Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
IIRC, there is some way to hook in and use a custom unittest-runner. How 
does one go about that?
Sep 20 2016
parent reply Jacob Carlborg <doob me.com> writes:
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
Sep 20 2016
parent Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
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
Sep 21 2016