点击+(加号)图标来添加测试用例。
现在是添加测试的时候了。
向解决方案中添加测试项目。
在添加测试时创建测试项目。
有一些向系统添加测试数据的方法可以对实施造成挑战。
Some of these approaches for adding test data to a system can be challenging to implement.
默认情况下,UserGroup1将被用于添加测试。
然后,可以添加测试用例的详细信息,如下图所示。
You can then add the details for your test case, as shown in the following illustration.
这是一个风险的权衡,我相信添加测试代码通常会占上风。
It's a risk tradeoff, and I believe that adding test support code usually wins.
参与方式包括提交修正错误的补丁,或添加新特性,添加测试用例或文档。
Getting involved includes submitting patches that fix bugs, or add new features, add test cases or documentation.
在测试计划层级被建立之后,测试设计者就能够开始添加测试用例了。
After the test plan hierarchy is established, test designers can begin to add test cases.
换句话说,添加测试级验证规则是向每个请求添加相同规则的快捷方式。
In other words, adding a test-level validation rule is a shortcut for adding the same rule to every request.
如果您不知道什么代码未测试的话,那么您就不能添加测试以弥补这个空白。
If you don't know which code is untested, you can't add tests to fill the gap.
然后,我继续添加测试,每次通过添加新代码、变更现有代码及重新分解的方式来修改代码。
Then, I continue to add tests, each time modifying the code by adding new code, changing existing code, and refactoring as I go.
向计划添加测试套件和测试用例:可以创建测试套件,以便将测试用例进行分组。
Adding test suites and test cases to your Plan: you can create test suites to group your test cases together.
此外,在创建测试方法时很容易添加测试类别,创建测试方法后也无需维护测试列表。
Also test categories are easy to add as you create your test methods and you do not have to maintain test lists after you have created your test methods.
查看测试的覆盖率以及查看测试未能通过的地方,为那些路径添加测试成了一项重复的工作。
Looking at the coverage and looking where the tests are not going through and add a test for that path becomes a repetitive task.
在同一测试套件中不断添加测试会逐渐造成混乱,而且对首次测试的修改容易随着修改的不断增加而丢失。
Continuing to add tests to the same test suite adds to clutter over time, and the incremental nature of the changes for which the tests were developed in the first place gets lost.
您可以通过记录与您测试的服务器之间的交互或是创建一个空的测试并通过手工添加测试元素来构建它。
You can do this either by recording an interaction with the server you're testing or by creating an empty test and building it from scratch.
在我为这个bug添加测试(并修复)之后,Jester就报告11个修改中只有8个没有检测到,如清单2所示。
After I added a test for (and fixed) this bug, Jester then reported that only eight out of 11 mutations went undetected, as shown in Listing 2.
要想创建不使用宏的测试套件,应该实例化CppUnit::TestSuite,然后在套件中添加测试。
To create a test suite without macros, instantiate CppUnit::TestSuite, and then add individual tests to the suite.
新建测试时,可以新建一个要向其中添加测试的测试项目,也可以将测试添加到现有的已经加载的测试项目中。
When you create a new test, you can create new a test project into which the test will be added, or add the test to an existing test project that is already loaded.
通过添加测试引脚、设计专用测试模式,内建自测试等方法有效的解决了该芯片电路的功能测试和电气性能测试。
The top metal test pad, special test mode and BIST are adopted in the IC circuits to solve the IC test problem about the chip function test and electric character test.
建立文件夹的方法是,右键点击功能测试项目视图中的BookPool项目,从弹出的菜单中选择添加测试文件夹。
To create a folder, right-click the BookPool project in the Functional Test Projects view and select Add Test folder from the menu that pops up.
这种方式非常简便:实例化一个TextTestRunner类型的对象,在其中添加测试和输出器,然后调用run方法。
The pattern has been easy enough: instantiate an object of type TextTestRunner, add tests and the outputter to it, and then invoke the run method.
这个失败很容易理解,但我不确定是不是真的要“修正”它——我没有测试的这个方法非常微不足道,为这么微不足道的方法添加测试有点浪费精力。
This failure is easy to understand, but I'm not sure I really want to "fix" it — the method I'm not testing is trivial, and adding tests for trivial methods can be a waste of effort.
在HelperMacros . h中定义的CPPUNIT _ test_suite宏可以简化创建测试套件并在其中添加测试的流程。
The CPPUNIT_TEST_SUITE macro, defined in HelperMacros.h, simplifies creating a test suite and adding individual tests to it.
手工地创建Web服务测试:您可以在不记录的情况下创建Web服务测试,您可以仅仅按照需要添加测试元素,并且手工地在测试编辑器中编辑测试元素细节。
Create a Web service test manually: You can create a Web service test without recording by simply adding the test elements as required and manually editing the test element details in the test editor.
研究人员随后测试了猴子如何组合或添加这些符号来获得奖励。
The researchers then tested how the monkeys combined—or added the symbols to get the reward.
添加了“过度纠缠”测试(见上)。
添加了“过度纠缠”测试(见上)。
应用推荐