现在的位置: 首页 > 综合 > 正文

Best and Worst Practices for Mock Objects

2011年03月15日 ⁄ 综合 ⁄ 共 336字 ⁄ 字号 评论关闭
http://codebetter.com/blogs/jeremy.miller/archive/...Mock objects are like any other tool. Used one way they’re a huge time saver. In other cases they can easily create more work and degrade the quality of the testing code. In this post I’ll try to present some best and worst practices for utilizing mock objects. Sadly, every “bad” practice described is something I’ve either done or seen done.

抱歉!评论已关闭.