As always, the unit tests for that class should capture the functionality for each of its methods.
像往常那样,该类的单元测试应该捕获其每个方法的功能。
Many developers use a variant of testing called test-after development (TAD), whereby you write the code and then write the unit tests.
许多开发人员使用称为后测试开发(TAD)的各种测试,你首先编写代码,然后编写单元测试。
Instead of running all your automated unit tests every day, only run the ones that need to pass for this particular delivery or iteration.
不必每天运行所有自动化的单元测试,而只运行此特定交付或迭代需要通过的测试。
When all the unit tests have run?
何时运行完所有单元测试?
单元测试漏掉许多错误。
Capture code comments in unit tests.
在单元测试中捕获代码注释。
"There are no unit tests," we chorused.
“没有单元测试,”我们齐声道。
Regression and unit tests are included.
包括了回归测试和单元测试。
自动化单元测试。
Avoid using domain objects in unit tests.
在单元测试中避免使用域对象。
The next step is to write the unit tests.
下一步就是编写单元测试。
书写单元测试。
Lastly, any defined unit tests are executed.
最后,执行确定的单元测试。
In this respect, unit tests are made for them.
从这一点来说,单元测试对他们有帮助。
In fact, I just can't write enough unit tests.
实际上,我总是无法编写足够的单元测试。
If you're not writing unit tests, you should be!
如果你不需要编写单元测试,也应该这样做!
Implement unit tests on existing implementation.
在现有实现上实现单元测试。
Make sure that your unit tests were run correctly.
请确保您的单元测试已正确运行。
Avoid using domain-specific objects in unit tests.
避免在单元测试中使用特定于域的对象。
Creation of unit tests is a time consuming process.
创建单元测试是一个耗费时间的过程。
I can't integrate any code with failing unit tests.
如果单元测试失败,我就无法整合任何代码。
The code is "done" when all of the unit tests pass.
一旦通过全部单元测试,代码也就完成了。
Developers write the unit tests as they write code.
开发人员在他们编写代码的同时编写单元测试。
They also let you group unit tests into test suites.
它们允许把单元测试组织成测试套件。
Functional tests and unit tests are vastly different.
功能测试与单元测试相差甚远。
I assign homework involving the writing of unit tests.
我布置了关于编写单元测试的作业。
Unit tests were a vital part of our development effort.
单元测试是我们的开发工作中的至关重要的部分。
Unit tests are written from a programmer's perspective.
单元测试是从程序员的角度编写的。
We want our unit tests to be simple and execute quickly.
我们想要单元测试简单快速的执行。
We want our unit tests to be simple and execute quickly.
我们想要单元测试简单快速的执行。
应用推荐