Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pro and cons of MockPP and Google Mock

How do the following mocking frameworks compare to each other? What are their main limitations compared to their Java counterparts?

  • MockPP
  • Google Mock
like image 692
lurscher Avatar asked Mar 09 '11 13:03

lurscher


1 Answers

I just used google mock, and it works great. The frame work has lots of features (guys really thought of everything).

The only bad thing about it, is that sometimes it is not possible to tell where a call failed, because it just print an uninterested call, but not the line and file where it really happened. Like for example this :

GMOCK WARNING:
Uninteresting mock function call - returning directly.
    Function call: UpdateReferences()

I can't tell you anything about MockPP and java counterparts, because I never used them. And I can't tell how they compare to google mocks.

like image 166
BЈовић Avatar answered Oct 07 '22 22:10

BЈовић