On 2014-05-01 09:10, Dicebot wrote:
It is not strictly necessary but you can't reliably get all unit test blocks during compile-time (must be transitively imported) and current run-time reflection for tests is missing any data but actual function pointers. I am personally perfectly satisfied with "single root module imports all" approach but it is likely to be complained if proposed as "standard" way.
The current runner wouldn't work. It needs to be replace with one that uses __traits(getUnitTests).
-- /Jacob Carlborg