Boost logo

Boost :

Subject: Re: [boost] Interest check: Boost.Mock
From: Steve M. Robbins (steve_at_[hidden])
Date: 2009-06-11 21:51:33


On Thu, Jun 11, 2009 at 12:37:18PM +0200, Peter Bindels wrote:

> The mocks I currently support are much more like the mocks in C# (using
> Rhino.Mocks) and Java (JMock) but well-adjusted to regular C++ use (in the
> same way that RhinoMocks uses C# reflection, I use C++ argument matching and
> templates to give as much information about errors and to allow the user to
> type (and maintain) as little as possible.

Since you mention C#: how does your library compare with Moq? Superficially
your examples resemble it in that the interface to be mocked is a template
argument to the mock class.

Thanks,
-Steve




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk