Mock objects framework...?

Christopher Wright dhasenan at gmail.com
Tue Nov 6 20:20:42 PST 2007


Mattias Persson wrote:
> Christopher Wright Wrote:
> 
>> Robert Fraser wrote:
>>> A while back someone posted about a mock objects framework they were developing... is this still in the works/where could I find it?
>> That was me, and now that I've heard about std.traits, I should be able 
>> to create it. Hopefully. Bug me about it in two weeks.
> 
> How's it going with the mock framework? Anywhere one could take a look at it?

Until it gets a permanent home at dsource:
svn co http://damask-mud.googlecode.com/svn/trunk/mocks

I did it all in the past two days, so I don't expect it to be terribly 
useable yet. There are no examples, either. The public interface (so 
far) is in Mocks.d.

I should probably move the unit tests to a separate module. That way 
it'd be easier to avoid conflicts with the all-powerful main and to keep 
my unittests from interfering from everyone else's.



More information about the Digitalmars-d mailing list