阅读背景:

如何为需要复制被测代码的代码编写测试?

来源:互联网 

I'm working on moving as much logic out of a custom control as possible so that it can be unit tested to reduce manual testing burden. I'm having trouble with situations where a method under test produces a complex result; writing a test case that calculates the result would involve writing what is essentially the code under test into the test itself.I'm working on moving as much logic out of a cu




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

分享到: