最后,测试模块需要访问我们正在测试的模块的接口库。
Finally, our test module will need access to the interface library of the module we are testing.
如果你不是想试试新东西,不要在紧急的情况下把很少测试的模块塞进系统。
Don't create rarely-tested modules that only kick in during emergencies, when you're least likely to feel like trying new things.
第二篇文章讨论了这些自动化解决方案如何搜索Python包以识别可能包含测试的模块。
The second article examined how these automated solutions search through a Python package to identify the modules that may contain tests.
The beauty of this is, it keeps me from getting lazy, and not only testing my program and the thing that found the bug, but in all the things that used to work.
运行函数而不用再输入了,这其中的,美妙之处在于,它让我变的勤快了点,并不是仅仅的去测试程序发现bug方面,同样适用于那些正常工作的模块。
应用推荐