A technique to mock "static interfaces" (e.g. isInputRange)

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Thu May 26 07:19:50 PDT 2016


On Thursday, 26 May 2016 at 09:42:59 UTC, Atila Neves wrote:
> Internal, and not really a mock. I used a range as an example - 
> anything with an accompanying interface would be supported.

I see, I thought as much

> What's wrong with dmocks revived (I've never used it)? I'm not 
> afraid of classes, I was just trying to extend mocking to 
> static interfaces since there's so much emphasis on them in D. 
> Regular mocking is boring and easily doable :P

I was not clear. I mean, D has a community has to get past its GC 
Angst.




More information about the Digitalmars-d mailing list