xUnit Testing Framework for D

bearophile bearophileHUGS at lycos.com
Wed Jun 12 17:10:53 PDT 2013


Mario Kroeplin:

> Here is the 'dunit' mentioned in the talk by Stefan Rohe:
> https://github.com/linkrope/dunit
>
> D-stroy ;-)

In that code have you felt the lack for some built-in feature for 
D (Like some introspection, some hooks, some dynamic feature, 
etc)?


Maybe you can replace code like this:

final switch (color)
             {
                 case Color.red:


With code like:

final switch (color) with (Color)
             {
                 case red:


Bye,
bearophile


More information about the Digitalmars-d-announce mailing list