This commit is contained in:
Gabriel Staples 2025-03-30 13:27:50 +00:00 committed by GitHub
commit 558e1f2797
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,5 +3,6 @@
The following is a list, in no particular order, of links to documentation
created by the Googletest community.
* [Googlemock Insights](https://github.com/ElectricRCAircraftGuy/eRCaGuy_dotfiles/blob/master/googletest/insights.md),
by [ElectricRCAircraftGuy](https://github.com/ElectricRCAircraftGuy)
* [Googlemock Insights](https://github.com/ElectricRCAircraftGuy/eRCaGuy_dotfiles/blob/master/googletest/insights.md), by [Gabriel Staples](https://www.linkedin.com/in/gabriel-staples/) ([ElectricRCAircraftGuy](https://github.com/ElectricRCAircraftGuy))
This covers some of the more nuanced features such as using multiple `EXPECT_CALL()`s, and using `.WillRepeatedly(InvokeWithoutArgs([&callCounter](){ callCounter++; }));` to count the number of times a mock function is called between each call when doing successive calls of the function under test.