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
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?
Reply all
Reply to author
Forward
0 new messages