Mock objects framework...?
Robert Fraser
fraserofthenight at gmail.com
Mon Nov 5 16:47:22 PST 2007
Christopher Wright Wrote:
> It will likely not have support for multiple mock repositories or even
> multiple mocks of the same type. It will likely not have support for
> mocked objects of one type and real objects of the same type. Not unless
> I rewrite everything as a giant string mixin. Which would probably turn
> out better.
>
> Keep bothering me, and it'll get done.
>From my (limited) experience with D metaprogramming, I've found giant string mixins/CTFE functions are more flexible and scalable than templates, at the loss of some readability.
More information about the Digitalmars-d
mailing list