Using -Wl,--wrap for mocking in C
💡
原文英文,约500词,阅读约需2分钟。
📝
内容提要
One of the comforts I’ve grown used to in higher level languages when testing my code is mocking. The idea is that in order to test some code in isolation, you should “mock” the behavior of things...
🏷️
标签
➡️