为了运行所有测试案例,我们组装一台具有以下规格的服务器。
To run all the test cases, we set up a server with the following specifications.
并不需要每次都运行所有测试,尤其是在修改的代码只影响某几个模块的情况下。
Not all tests need to be run at all times, particularly if you are making changes in the code that affect only specific modules.
然后依次运行所有测试程序,记录入侵检测系统的输出,得到测试结果。
Then we execute all test programs, record the output of IDSs and get the test results.
如果项目成功构建,将对所得到的系统运行所有测试,并将生成相应的报告供整个团队进行复查。
If the project builds successfully, all the tests are run against the resulting system and reports are generated for review by the entire team.
根据您的配置,您可能看到不同的结果。我们使用DominoRelease 4.6a来运行所有测试。
Depending on your configuration you could see different results.We used Domino Release 4.6a for all of our tests.
这部分代码将在“src”目录下查找所有以“Test .py”结尾的所有文件,并运行所有测试。
These lines will run any tests found anywhere under the 'SRC' directory, looking for any files that end in 'Test.py'.
在测试项目的早期阶段,您可以提供高层次的完成测试计划活动所需时间的估计,以及运行所有测试所需的时间和精力的估计。
In the early stages of a test project, you can provide high-level estimates of the time required to complete your test planning activities, and the time or effort required to run all of your tests.
针对PresentationModel运行所有测试,因为Presentation Model包含有条件的逻辑和一个储存随执行而更改的状态的空间。
You run all tests against the Presentation Model because it contains the conditional logic and a hold place for the state that changes as a result of executing it.
例如,--gtest_filter=*运行所有测试,而 --gtest_filter=SquareRoot*只运行 SquareRootTest 测试。
For example, --gtest_filter=* runs all tests while --gtest_filter=SquareRoot* runs only the SquareRootTest tests.
不必每天运行所有自动化的单元测试,而只运行此特定交付或迭代需要通过的测试。
Instead of running all your automated unit tests every day, only run the ones that need to pass for this particular delivery or iteration.
图形化的控制台很适合于交互式测试一个或两个类,而该控制台以批处理方式运行所有的测试,例如,完全重构过程,这一部分。
The graphical console is good for interactively testing one or two classes, while the console runs all the tests in batch mode, for example, as part of a full rebuild.
实际上,在我每次开始构建项目之前,都将运行所有的单元测试,以确保应用程序代码的完整性没遭到无意破坏。
In fact, before I even start building the project, all unit tests are run to ensure that the integrity of the application code has not been unintentionally compromised.
包含的所有测试随后将在单个运行中执行。
您可以测试服务并提交更改,然后让持续集成服务器运行其他服务的所有测试用例。
You can test your service and commit the changes, then let the continuous integration server run all of the tests on other services.
在许多敏捷团队中,全部新代码都要经过自动化的单元测试,每次执行架构都会运行所有单元测试。
On many Agile teams, all new code is covered by an automated unit test, and all unit tests are run every time a build is performed.
假如自动化测试运行的相当好,所有的测试都报告成功,性能也很好。
Suppose that test automation is running reasonably well, all tests are reporting success, and performance is fine.
运行了所有的测试后才能发布更改。
运行测试以后,所有看起来都正常。
瞄准100%运行您所有的测试的目标吗?
相反,我编写根据类中的方法运行所有单元测试用例的类。
Instead, I would write the class that runs all the unit test cases against the methods in the class.
对每个工作分支来说,CI服务器自动并持续地检查构建和运行所有单元测试的状况。
For each work branch, CI server automatically and continuously checks that it builds and passes all unit tests.
注意,RUN_ALL_TESTS自动地探测并运行用test宏定义的所有测试。
Note that RUN_ALL_TESTS automatically detects and runs all the tests defined using the test macro.
但它会反射性地找到suite方法并运行由它返回的所有测试。
But JUnit will reflectively find the suite method and run all tests returned by it.
为了避免运行所有“单元测试”所需的令人恐惧的三小时构建时间,分类是关键。
Categorization is key to avoiding the dreaded three-hour build that runs all "unit tests."
然后,编写一个名为test_all . py或tests . py的脚本,这个脚本导入并运行他的所有测试。
Later, he might write a script with a name like test_all.py or tests.py that imported and ran all of his tests together.
何时运行完所有单元测试?
思考的一个方向是,由于构建验证测试全都自动化了,在每晚运行所有的自动化测试的伤害是什么,——只是机器时间,对吗?
One line of thinking is that, since the build verification tests are all automated, what's the harm in running all of them every night — it's just machine time, right?
通过决定运行所有的测试,您隐含地同意在一个工作日内审阅每个失败的测试,为了下一个每日构建的运行。
By deciding to run all the tests, you've implicitly agreed to review each failed test case within one work day, in time for the next daily build run.
实际上,他们有许多测试,要运行所有的测试几乎要花上一整天。
They had so many tests, in fact, that it took nearly a full day to run them all.
实际上,他们有许多测试,要运行所有的测试几乎要花上一整天。
They had so many tests, in fact, that it took nearly a full day to run them all.
应用推荐