Groups
Sign in
Groups
Google C++ Mocking Framework
Conversations
About
Send feedback
Help
NiceMock vs StrickMock
5,749 views
Skip to first unread message
Brenda Martis
unread,
Apr 12, 2016, 9:40:25 PM
4/12/16
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++ Mocking Framework
Can someone explain difference between nicemock and strickmock?
Alex Shaver
unread,
Apr 13, 2016, 11:03:49 AM
4/13/16
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++ Mocking Framework
Before moving to github, the documentation used to have a lot better table of contents/indexing. This is what you're looking for:
https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#the-nice-the-strict-and-the-naggy
tl;dr: nice mocks suppress warnings about unexpected calls, strict mocks fail tests on unexpected calls. That's how I saw them at least.
Reply all
Reply to author
Forward
0 new messages