The first line, import test, opens the file test.py and processes each statement in that file.
第一行import test打开文件 test.py并处理文件中的各条语句。
To keep the code simple, I put the class and the test code in one file.
为了保持代码简单,我把类和测试代码放在一个文件中。
Collect the response time data from the test driver client metrics file.
从测试驱动器客户机指标文件收集响应时间数据。
At the bottom, you can see the test file.
在底部,您可以看到测试文件。
Want a fast test for response time, file size, and links?
想要一个对反应时间、文件大小和链接的快速测试?
Listing 3 shows one such sample test file.
清单3显示了一个示例测试文件。
Another test is to see whether the configuration file denies access to a particular host.
另一项测试是看看配置文件是否拒绝访问某一主机。
Each time you save the source file, you invoke a parsing of the test class.
你每次保存这些源文件时,便调用测试类的解析。
General information includes the name, description, and relative file path of the test suite.
总体说明包括名称、描述以及测试套件的相关文件路径。
Next, to actually run the test, you simply run the test file from the command line with the test option.
接下来,仅需从命令行的测试选项运行测试文件,就能够实际运行测试。
Configure and deploy the BAR file to a test environment.
配置该BAR文件,并将其部署到一个测试环境中。
The WSDL Test Clients use the WSDL file to test the service directly.
WSDL测试客户程序使用 WSDL文件对服务直接进行测试。
The test at the top of the file (1) determines what "mode" we are in.
在文件顶部的检测(1)决定现在处于什么"模式"。
You can then deploy the BAR file and test the flows.
然后,您就可以部署BAR文件并测试流。
The results are written in a test log file inside the WPAR.
结果将写入WPAR内部的一个测试日志文件。
You can then save the test file, which looks like the output in Listing 6.
然后保存该测试文件,它类似于清单6中的输出。
After structuring both the source and test folders, you have to provide the configuration file.
组织好源和测试文件夹后,必须提供配置文件。
I will also create a 100mb dummy data file for the purposes of this test.
我还将创建一个100MB虚拟数据文件,以供测试之用。
Note once again you'll create some test data in an XML file.
同样注意,要在XML文件中创建一些测试数据。
You can also test whether the file or directory on the remote host is present.
还可以检查远程主机上的文件或目录是否存在。
Create a jar file, named BasicAddUnitTest.jar, containing the two Test case classes.
创建一个jar文件,命名为BasicAddUnitTest . jar,包含这两个测试用例类。
On test, run the config.out file as follows.
在测试系统上,运行config. out文件,如下。
The file contains the necessary JMS protocol handler class for our test application.
这个文件包含测试应用程序必需的JMS协议处理类。
Having multiple test suites in a file.
在一个文件中包含多个测试套件。
An output.html file that contains the results of the FIT test run.
一个包含FIT测试运行结果的输出.html文件。
Save the file, then start the Jython interpreter to test the new function.
保存文件,然后启动Jython解释器来测试新功能。
Check the SystemOut.log file for details about the actual test and what the code is doing.
可以查看SystemOut . log文件,以了解实际测试工作的详细内容以及该代码所执行的工作。
Now write the Ant build.xml file, shown in Listing 4, to test the custom TweetTask class.
现在写入Antbuild . xml文件,如清单4所示,以测试自定义的tweettask类。
To test your first widget, enter this XML file in any public Web site.
要测试您的第一个小部件,在任何公共We b站点输入这个XML文件。
The template file for this test plan example is testplan_001, which contains one test case, named testcase_001.
对于本测试规划范例的模板文件是testplan_001,它包含了一个测试用例,名字叫做testcase_001。
应用推荐