Thread overview | |||||
---|---|---|---|---|---|
|
September 21, 2016 Custom test runner | ||||
---|---|---|---|---|
| ||||
IIRC, there is some way to hook in and use a custom unittest-runner. How does one go about that? |
September 21, 2016 Re: Custom test runner | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | 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 Re: Custom test runner | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | 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 |
Copyright © 1999-2021 by the D Language Foundation