阅读背景:

单元测试私有方法:Facade模式

来源:互联网 

Lots of developers think that testing private methods is a bad idea. However, all examples I've found were based on the idea that private methods are private because calling them could break internal object's state. But that's not only reason to hide methods.Lots of developers think that testing private m




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

分享到: