Counting passed/failed unit tests

Justin Whear justin at economicmodeling.com
Mon Oct 24 08:30:25 PDT 2011


core.runtime allows a user-supplied unittest runner. Never used it, but 
check out 
http://www.digitalmars.com/d/2.0/phobos/core_runtime.html#moduleUnitTester

Justin


Alex Rønne Petersen wrote:

> Hi,
> 
> Is there any way to count the amount of passed/failed unit tests in a
> module or a program as a whole? From what I can see, druntime simply
> invokes a function on each module which triggers all actual tests. If
> this is all the information that is available, I guess it's impossible,
> but I'm _very_ open to suggestions/ideas here...
> 
> Thanks!
> 
> - Alex



More information about the Digitalmars-d mailing list