阅读背景:

C ++单元测试遗留代码:如何处理#include?

来源:互联网 

I've just started writing unit tests for a legacy code module with large physical dependencies using the #include directive. I've been dealing with them a few ways that felt overly tedious (providing empty headers to break long #include dependency lists, and using #define to prevent classes from being compiled) and was looking for some better strategies for handling these problems.I've just started writing unit tests for a lega




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: