Once proper test cases have been created for your application, your project will never regress without your knowledge.
一旦为应用程序创建了正确的测试用例,没有您的知识项目将无法回归。
Consequently, they introduce a high degree of architectural complexity: the entire application must be running for a system test to take place.
因而,它们引入了一个更高级别的架构复杂度:整个应用程序必需为要进行的系统测试而运行。
For this project, it's important to test the application directly on the device, because the GPS functionality is required.
对于此项目,在设备上直接测试应用程序是很重要的,因为需要GPS功能。
Database activity reports can also be useful for profiling a new or changed application in a test environment.
数据库活动报告对于在测试环境中记录新的或变更的应用程序很有用。
For a more realistic test, make sure that the application servers use different LTPA keys.
对于一个更现实的测试,需要确保应用服务器使用不同的ltpa密钥。
Ideally, the application developers themselves build the test cases for the code they are writing.
在理想状况下,应用程序开发人员自己为他们编写的代码构建测试用例。
Next, I define the test case shown in Listing 6, which also takes a parameter for the base URL of the application under test.
接下来,我将定义清单6所示的测试用例,它也包含一个参数,用于进行测试的应用程序的基url。
For example, it is common to have different names for queues in different environments (development, test, production, and so on), or for different releases of an application.
例如,对于不同环境(开发、测试和生产等)中的队列或不同版本的应用程序通常有不同的名称。
If the test application enhancements were extensive, those enhancements were developed on a previous iteration to allow time for development of the test application.
如果测试应用程序增强是大规模的,那么就在先前的迭代中开发那些增强,从而给测试应用程序的开发留出时间。
After these steps, both the client and service provider of our test application are ready for use.
完成这些步骤后,测试应用程序的客户端和服务提供者就均已就绪,可以供使用了。
Although carbon dioxide is the more important greenhouse gas, methane measurements will be a more practical early application to test the market for this sort of data.
尽管二氧化碳是更为重要的温室气体,但测量甲烷含量作为一个早期应用方法对测试此类数据的市场价值有更实际的作用。
If done thoroughly, manual test scripts can also form the basis for help or tutorial files for the application under test.
如果能自始至终的使用它,手工测试脚本同样会形成测试时应用软件的帮助或者教程的基础。
For this application, test cases were so specific and focused (and GUI dependent) that a data-driven framework didn't make sense.
对于这个应用程序,测试用例非常特殊和集中(并且依靠于GUI),以至于数据驱动框架就没有意义了。
In our example, the test application will spawn threads and wait (blocked) for interrupts to release the threads.
在我们的例子中,这个测试应用程序应该派生一些线程,并等待(被阻塞)中断来触发这个线程。
The results were then graphed to show that the application provided subsecond responsiveness for a majority of test conditions.
然后,结果被图形化,从而显示该应用程序对于大多数测试条件提供的次秒级(sub - second)响应性。
For example, let's assume that the application requires three test groups in a specific sequence.
例如,假设应用程序要求3个测试组以某个特定的顺序排列。
Click the Resume button to continue execution, and the application displays a simple test message for the email you selected.
单击Resume按钮继续执行,应用程序会针对选择的电子邮件显示一个简单的测试消息。
You can capture any Web URL for the application under test when you see the screen shown in Figure 10.
您能够为测试下的应用程序捕获任何一个WebURL,如图10中所示。
For example, Chun created a test application which performed facial recognition on photos.
比如,Chun就制作了一个可以在执行照片面部识别的测试应用。
Specify the target Application Server test server for deployment.
为部署指定目标ApplicationServer测试服务器。
Creating the JUnit test cases for the application.
为这个应用软件创建JUnit测试用例。
You must also provide a location where the server instance should run (localhost is typical, but not required) and then the base URL for the application under test.
您还必须提供运行服务器实例的位置(通常是localhost,但不是必须的),以及被测试的应用程序使用的基url。
Now that you have completed the entire configuration required for the test application client project, you will run the client so that it will run all the JUnit tests for you.
既然您已经完成了这个测试应用客户端项目的整个配置需求,那么现在您将运行这个客户端项目,从而它就可以运行所有的JUnit测试。
You can download sample application client and server ear file for this tutorial. To test the sample application, follow these steps.
您可以下载此教程中用到的示例应用程序客户机和服务器ear文件。
The application should be automatically installed to the Integrated Test Environment for the application server 6.0.2 server instance.
该应用程序应自动安装到ApplicationServer6.0.2服务器实例的集成测试环境中。
The application is a test case to open a Google search page and search for the text HttpUnit. You want the application to test the following scenarios.
这个应用程序是一个测试用例,用于打开一个Google搜索页面并搜索文本HttpUnit。
The tooling generates statement coverage statistics for the application under test (that is, the number or percentage of lines in your application that have been executed).
工具会为测试下的程序生成声明复盖率统计数据(这就是说,执行程序中行的数量与百分比)。
If the unit test cases cannot be successfully completed, either due to bugs in the application or the lack of unit test code, then the application should not be accepted for performance testing.
如果单元测试案例因为应用程序中的错误或缺少单元测试代码而无法被成功完成,那么应用程序不应该被性能测试所接受。
In other words, the entire unit test library I create for an application becomes part of my build process.
换句话说,我为应用程序创建的整个单元测试库都成为构建流程的一部分。
Typically, you will use the separation of concerns principle when you plan how you will divide and structure your test code for application-under-test features and behaviors.
通常,在您计划如何为被测试应用的特性和行为进行分离和组织测试代码时,您将会使用关注分离这个基本原理。
应用推荐