In line 14, a test case must have a single string parameter constructor that passes the argument to its parent class (TestCase) for the purpose of displaying the test case name in a log.
在第十四行中,为了在日志中显示这个测试用例的名称,一个测试用例必须有一个可以将自变量传递到它的父类(TestCase)的专门的串参数构造器。
All I needed for each case was a logical name for the component under test and a series of steps to create the scenario.
对于每种情况,我需要的只是被测试的组件的逻辑名称以及一系列步骤,以便创建场景。
Enter the name of your configured test case.
键入您的配置测试用例的名称。
Select the test case that you want to run, change the computer name to the name of the client machine (see Figure 23), and click OK.
选择您想要运行的测试用例,将电脑名更改为客户端机器的名字(见于图23),并点击OK。
Enter the name of your TM test case.
键入您的TM测试用例的名称。
You can click the name of the test case to view the test case.
你可以点击测试用例的名称来查看测试用例。
Select the functional test script name, S1, which you need to associate with the TC1 test case, and click OK.
选择功能性测试脚本名,S1,您需要将其与TC1测试用例相联系,并点击OK。
In the Run Test Case wizard, change the computer name as the client machine name.
在RunTest Case向导之中,将电脑名更改为客户端名字。
Also, in the spirit of further simplification for common programming tasks, the test case also USES the more convenient Groovy dot property name notation for accessing properties.
同时,出于进一步简化通用编程任务的考虑,测试用例也使用了更为简便的Groovy点属性名标记来访问属性。
Now that I've got a module name, I can begin defining a test case as in Listing 5
我已经得到一个模块名,可以开始定义测试用例了,如清单 5 所示
PCV files available, one per test case, that might need running; and further that you have some way to determine from the name of a.
而且您有一种方法能够从. pcv文件的名字中,决定哪一个测试用例与其相匹配。
The fixtures method automatically loads the fixture corresponding to the given model name at the start of each test method in the test case.
在测试用例中的每个测试方法的开头,fixtures方法自动地装载与模型名对应的fixture。
Change the state of the test case to Implemented by right-clicking on the name of the configured test case, and then selecting Change state.
通过右键点击这个配置测试用例的名称将这个测试用例的状态更改为Implemented,然后选择Change state。
Give a name to the configuration (in this case, SampleDataSource App test) as shown in Figure 15.
为这个配置取一个名称(在这个案例中,SampleDataSource Apptest)如图15所示。
Because you don't know the name of the place before runtime, you can't add the resulting link to the object map when you are recording your test case.
因为运行之前不知道位置的名称,所以记录测试情况时,不能将得到的链接添加到对象映射。
Name the Test Case folder TC_Folder, and click OK.
将测试用例文件夹命名为TC _ Folder,并点击OK。
Name the Test Case folder TC_Folder, and click OK.
将测试用例文件夹命名为TC _ Folder,并点击OK。
应用推荐