Now you'll create a test script to verify that you can add an item to your shopping basket.
现在你将要建立一个测试脚本来检验你是否可以向你的购物栏中添加一件物品。
Start by recording a simple test with one variable data item, a search string.
通过记录带有一个可变数据的项目和一个搜索字符串的简单测试开始。
This is sufficient for the first item in the example test plan (Table 1).
这可以满足示例测试计划(表1)中的第一项。
If you do this to each worksheet item your test case script looks similar to Listing 6.
如果您对每个工作表条目这样做,您的测试脚本看起来类似于列表6。
The selected plan item will be added to the test case.
选择的规划项将会添加至测试用例。
For each solution in a release, we can have either one or more test plans for each line item or a test plan for solution-level integration testing, or both.
对于一个版本的每个解决方案,我们要么对每一行条目有一个或者多个测试计划,或者对于一个解决方案层次综合测试有一个测试计划,要么两者都有。
For example, a shopping cart unit test might test that you can add an item to a cart through the model API.
例如,购物车单元测试可以测试出您可能通过模型API将一件商品添加到购物车中。
Now that you're setup to test your application, let's walk through listing an item using the SDK.
现在,您已经准备好测试您的应用了,现在让我们看看如何利用SDK 来列出商品。
To add a new batch item, I use the following test code.
使用以下测试代码添加新的批处理条目。
Test map toolbar item in XML map editor.
xml映射编辑器中的map工具栏项目。
Test two: Verifying adding an item to the basket.
测试二:检验向篮子中添加一件物品。
This will simply generate an alert when the new Test Action menu item is selected.
在新的Testaction菜单项被选中时,就会产生一个警告框。
Use the Test Module menu item.
使用Testmodule菜单项。
You can test whether this example worked by creating a new Movie item.
您可以创建一个新的Movie 内容项,用它来测试这个例子是否能正确工作。
This case study evaluated the feasibility of using ClearQuest test management to track the function verification test progress at the release, solution, or line item level.
这个案例研究对利用ClearQuest测试管理在发布,解决方案,或者排列项层次跟踪它们的功能验证测试进展的可行性进行了评估。
Just add a repository (or test the connection to the repository) by selecting the appropriate menu item.
仅仅通过选择合适的菜单项添加一个存储库(或者测试与存储库的连接)。
An alternative method to accomplish the same result would test whether the current item in the tuple is even (using if not num % 2:) and, if true, would add the current item to the running total.
实现相同结果的另一种方法是测试tuple中的当前项是否是偶数(使用ifnot num %2:),如果为真,那么将当前项添加到运行总和中。
To begin the test, select the Return item as shown in Figure 39.
要开始测试,请选择return项,如图39所示。
In the test Data section of the test editor, shown in Figure 10, you will notice the search string you entered as the Value for the item query.
在这个测试编辑器的TestData部分,如图10所示,注意到您键入的作为query项目中value值的搜索字符串。
In the test Data section of the test editor, you should now see that the item query is substituted with the custom code GetTestData, as shown in Figure 11.
在这个测试编辑器的TestData部分,您现在可以看到项目查询已经被自定义代码GetTestData所取代,如图11所示。
An item has at least 20 ratings in the total dataset (including train, validation, and test sets).
在所有的数据集(包括训练集,验证集和测试集)中,一个条目都至少有20个打分。
Verify that the test case has been added to the work item in Rational Team concert.
确认测试用例已经添加至Rational Team Concert中的工作项。
A functional test for a shopping cart would ensure that you could add an item to a cart through a post to a Web page.
购物车的功能测试可以确保您能够通过登录某一web页面将商品添加到购物车中。
The value of the test attribute of the xs:assert element information item is an XPath expression that evaluates to either true or false.
assert元素信息项的test属性的值是一个XPath表达式,其值等于true或 false。
This item will be named for your class with "Test" appended.
该项将以类“Test ”命名。
Using business item instances in a simulation can be useful, particularly if you want to test your logic, or run a simulation based on real data.
在模拟中使用业务项实例非常有用,特别是希望测试逻辑或者根据实际数据运行模拟时更是如此。
All scores that correspond to the test set should be written to the submission file consecutively, i.e. with no separator or newline between item scores.
所有对应于测试集的分数需要连续写入提交物中,也就是说,没有分隔符或者新行在条目分数之间。
For this test, you'll open the Web site, search for a specific book, add the book to your basket, and verify that the basket loads with your item and all the correct information.
在这个测试中,你将打开网站,搜索一本特定的书,把书加入你的购物栏,并检验篮子加载了你的货物以及正确信息。
The JUnit view context menu provides a new work item action to create a new work item based on the selected JUnit test.
JUnit视图上下文菜单提供了NewWorkItem操作,以基于所选的JUnit测试创建新工作物件。
The JUnit view context menu provides a new work item action to create a new work item based on the selected JUnit test.
JUnit视图上下文菜单提供了NewWorkItem操作,以基于所选的JUnit测试创建新工作物件。
应用推荐