单元测试
bread units───面包单位
bedroom community───n.郊外住宅区;= dormitory town
starter unite───起动装置
serviceable unit───可维修单元
units specified don───指定的单位
afforestation community───造林群落
proverbs reunite the listener with───谚语使听者与
ammunition sales───弹药销售
americans united separation church state───美国联合分离教会国家
united kingdom───n.英国; 联合王国(由英格兰、苏格兰、威尔士和北爱尔兰组成的政治实体);联合王国(英国)
This article shows you some typical usage of unittest and doctest that have improved tests in my own software.───本文向您介绍了 unittest 和 doctest 的一些典型用法,它们已经改进了我自己的软件中的测试。
Using unittest adds quite a few capabilities to the simpler doctest style.───使用 unittest 为较简单的 doctest 方式增添了相当多的能力。
Done this way, the unittest module will accept a -v option for more verbose output.───使用这种方式时,unittest模块将接受一个- v选项以给出更详细的输出。
These steps also show the tasks required to start the Unit Test feature, although this would already be up in a typical work session.───这些步骤还展示了启动UnitTest特性所需的任务,尽管在典型的工作会话中,该特性应该已经启动。
It collects classes regardless of whether the class inherits from unittest. TestCase or not.───无论类是否继承自unittest.TestCase,它都会收集它们。
It is quite handy to frequently run a unittest when making changes to a module.───在对模块进行更改时,需要频繁地运行单元测试,而这也是非常容易的。
Also note, finally, that the Zope test frameworks only support tests that are either UnitTest instances or doctests.───最后注意,Zope测试框架只支持UnitTest实例或doctest。
The docstrings processed by doctest can contain tracebacks within them, but a better approach to special cases is to utilize unittest.───由doctest处理的文档字符串可能会在其内部包含回溯(traceback),但是在特别的情况下,更好的方法是使用unittest。
All three frameworks this article is looking at, zope.testing, py.test, and nose, support the standard setUp() and tearDown() routines of any unittest.TestCase classes that the programmer writes.
- to run away
- shifting sleeve
- to the deach
- turn left at the traffic lights
- tensile creep test
- tensile curve
- shifting slide gear
- sample form
- willilam
- turn left here
- sit up till midnight
- what does the fox say
- soft sensor
- sponging mirna
- what does the fox says
- shifting table
- sample format
- turn left right
- soft sentence
- what does the future hold
- what does the man do