阅读背景:

Rspec:避免与消息期望不同步的问题

来源:互联网 

Message expectations allow you to check if the object under test is sending the right message, but not that the target object can actually respond to this call. On the other end of the spectrum, integration testing checks that everything actually work, that is, that the calls are made, understood and executed properly.Message expectations allow you to check if the




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

分享到: