Sometimes you know the unit is over because there is some kind of test.
因为有某种测试,有时你会知道单元结束了。
Almost every component in the library has a unit test with this component.
库中的几乎每个组件都有一个使用该组件的单元测试。
Unit test the service, and deploy it to the production environment.
对该服务进行单元测试,然后将它部署到生产环境。
What are the key features and functions of the unit test environment?
单元测试环境的关键特征和功能是什么呢?
Instead, the unit test must take this into account.
相反,单元测试必须要考虑到这一点。
We write our example, or unit test, first.
首先,我们写了示例,或者叫单元测试。
The majority (90%) of all testing should occur in the unit test environment.
全部测试中的绝大部分(90%)都应该在单元测试环境中进行。
For each UI gesture defined in the specification, create a line in your unit test.
对于规范中定义的各个UI动作,在单元测试中创建一行说明。
Any comment should be captured in a unit test.
任何注释都应在单元测试内捕获。
单元测试能力。
For every new unit test, the framework creates a new test fixture.
对于每个新的单元测试,框架创建一个新的测试装备。
The first set — the unit test from Part 1 — should look familiar.
第一组(第1部分的单元测试)看起来应当熟悉。
Write the unit test before writing code for class it tests.
首先编写单元测试,然后再编写要测试的类代码。
This example USES a unit test to verify that everything works as expected.
这个示例使用单元测试来验证每件事都按预期工作。
运行单元测试。
Plus, doing so keeps the test as a true unit test.
另外,这样做可使测试保持为一个真正的单元测试。
Because it will be easier to unit test.
因为这样做单元测试比较容易。
Writing a unit test for a Stack class is straightforward.
可以很直观地写出对堆栈类的单元测试。
The answer is that you are running a unit test.
答案是您现在运行的是单元测试。
If a unit test crosses class boundaries, it might be a functional test.
如果单元测试跨越类边界,则它就可能是功能测试。
Most novices try to cram too many elements into each unit test.
大多数初学者都试图在每个单元测试中填入太多的要素。
Write a unit test for the desired new capability.
为需要的新功能撰写单元测试。
So here's my unit test procedure.
所以这就是我的单元测试流程。
对SCA组件进行单元测试。
A unit test is usually written to test a piece of source code.
编写单元测试通常是为了测试一段源代码。
Now you can perform the BVT with the unit test framework.
接下来可以通过单元测试框架执行BVT。
Software quality: Unit test progress, system test progress, test coverage.
软件质量:单元测试进展、系统测试进展、测试覆盖率。
However, what if a complete unit-test suite takes an hour to run?
然而,如果一个完全的单元测试集要花一个小时运行呢?
Generally, you write one unit test per model.
一般情况下,要为每个模型编写一个单元测试。
Generally, you write one unit test per model.
一般情况下,要为每个模型编写一个单元测试。
应用推荐