创建测试用例和数据映射。
通过连接圈创建测试用例,如图11所示。
Create test cases by connecting circles, as shown in Figure 11.
为用户验收测试创建测试用例。
为功能验证测试创建测试用例。
如何:使用录制的操作创建测试用例。
如何从用例创建测试用例?
这种机理的添加意味着您在创建测试用例时有更多的灵活性。
The addition of this mechanism means that you have more flexibility to create test cases.
测试用例向导将引导您完成创建测试用例的过程。
A test case Wizard will walk you through the process of creating a test case.
要开始创建测试用例,用户验收测试资源将需要查看这个用例的流程图。
To begin creating test cases, User Acceptance test resources will need to look at the flow diagram for the use case.
一般来说,从一个用例驱动方法来创建测试用例包括以下四个基本步骤。
Generally, test case creation from a use case-driven method involves four basic steps.
这样可以根据已执行的步骤更轻松地创建测试用例,而不必键入所有步骤。
This makes it easier to create test cases from steps that you have already performed without having to type all the steps.
数据驱动框架的主要优势是它减少了为很多类型的应用程序创建测试用例的成本。
The main advantage of a data-driven framework is that it reduces the cost of creating test cases for many types of applications.
为Linux内核创建测试用例相当简单;通常要么要求特定的范围,要么要求广泛的范围。
Creating test cases for the Linux kernel is pretty straightforward; usually either very specific or very broad coverage is desired.
我们前面提到,创建测试用例的详细信息比较费力,并需要大量使用SDO编程API。
We mentioned earlier that the creation of the details of the test case is somewhat laborious, requiring extensive use of the SDO programming APIs.
根据要求创建测试:在评审用户对应用程序的要求后,可以创建测试用例以测试这些要求。
Creating Tests for Requirements: After you review the users' needs for your application, you can create test cases to test these needs.
您可以使用此文件创建测试用例中的步骤,或将其作为创建步骤的快速起点,而无需重新键入每一操作。
You can use this file to create the steps in your test cases, or to give you a quick start for creating the steps, without having to retype each action.
例如,您可以创建测试用例“向购物车中添加商品”,其中只包含一个名为“创建测试步骤”的测试步骤。
For example, you could create a test case, Add Item to Shopping Cart, with just one test step named create test Steps.
您现在可以在测试客户端中创建人工任务模拟器,或者创建测试用例,测试用例可以是手动的或采用编程形式。
You can now create a human task emulator in the test client or a test case, which can be either manual or programmatic.
它包括阅读测试工具创建的测试日志的能力,以及为已配置测试用例创建测试日志结果的能力。
It includes the ability to read test logs created from the testing tool and to create test log results for the configured test case.
现在让我们创建一个测试用例模板。
既然现在您的需求已得到更新,那么就该返回至显示板,并查看您在前面创建的测试用例了。
Now that the requirement is updated, it is time to go back to the dashboard and take a look at that test case you created earlier.
当她创建了新的测试用例时,这个用例会自动的被连接到需求。
When she creates the new test case it is automatically linked to the requirement.
数据驱动框架最大的缺点之一是,它创建新的测试用例太容易了。
One of the most prominent drawbacks to a data-driven framework is that it makes creating new test cases so easy.
如何创建JUnit测试用例?
按照以下步骤来创建JUnit测试用例。
在测试用例被设置之后,团队就能够开始通过配置来标记他们的测试用例,并且创建被配置过的测试用例(CTC)。
After the test cases are set up, the team can begin to tag their test cases with configurations to create configured test cases (CTCs).
一旦为应用程序创建了正确的测试用例,没有您的知识项目将无法回归。
Once proper test cases have been created for your application, your project will never regress without your knowledge.
打开您在步骤5中所创建的测试用例。
因为测试用例易于创建,您能够简单地运行和维护测试,这有时会导致测试用例膨胀。
This can sometimes lead to test case bloat, where you are running and maintaining tests simply because they were easy to create.
清单7显示了一个用于创建新成员的测试用例。
Listing 7 shows an example test case for creating a new member.
应用推荐