views:

2734

answers:

5

Does anyone have any experience with Mock Object frameworks in C++? I haven't been able to find much. It appears Google will be open sourcing theirs soon, so I guess it may be best to wait for that, but still interested to hear of others.

Just an update the Google's gMock has been out for a while now.

+5  A: 

Check out mockpp, it should be familiar if you've used mock objects before.

conmulligan
+5  A: 

I use AMOP in conjunction with UnitTest++.

graham.reeds
+2  A: 

gMock is awesome. (I thought it was already released! :-( )

0124816
+10  A: 

We just release it: http://code.google.com/p/googlemock/

A: 

I've written Hippo Mocks ( www.assembla.com/spaces/hippomocks ) which should work quite well. It's been released a while back and will very soon get an update (the tip of the archive already contains the relevant fixes).