Breaking Tight Coupling by using Mock Objects(Chapter 4 of Python Testing Beginner's Guide)
摘要:
mockCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1>>>frommockerimportMocker2>>>mocker=Mocker()3>>>func=mocker.mock()4>... 阅读全文
posted @ 2010-11-30 21:51 Ray Z 阅读(166) 评论(0) 推荐(0) 编辑