This commit is contained in:
Gabriel Staples 2025-02-18 12:27:36 -08:00 committed by GitHub
commit c0329d6670
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 The following is a list, in no particular order, of links to documentation
created by the Googletest community. created by the Googletest community.
* [Googlemock Insights](https://github.com/ElectricRCAircraftGuy/eRCaGuy_dotfiles/blob/master/googletest/insights.md), * [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))
by [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.