InitGoogleTest and InitGoogleMock: What's the difference? Do we need both?
680 views
Skip to first unread message
Alex Shaver
unread,
Jul 20, 2017, 9:18:59 AM7/20/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google C++ Testing Framework
For as long as I've been writing google tests, I've only ever used InitGoogleTest, even when my tests include mocks. Is that a sufficient call? What does InitGoogleMock provide that Test doesn't? I can't say I've really encountered problems with Mocks in just the init test call, but perhaps some of the perceived issues I've worked around might have been solved with it?