我们没有直接在相册应用程序中建立历史堆栈,而是用一个简单的页面测试这个类。
Rather than building the history stack directly into the photo gallery, we generated a simple page to test our class.
作为一个简单的示例,我试着使用两款知名的测试生成工具来为保龄球游戏程序生成测试代码。
As a simple example of this, I have tried to generate tests for the bowling game program using two of the better known test generation tools. The interface to the bowling game looks like this.
我找到了一个Pythonemail包,编写了一些简单测试,然后决定使用Python重新编写我的程序(参见参考资料,获取电子邮件包的链接)。
I found the Python email package, wrote a few simple tests, and decided to redo my program in Python (see Resources for a link to the E-mail package).
最简单的测试方法是创建并运行一个简单的Hello World应用程序。
The easiest way to do that is to create and run a simple Hello World application.
实际上GSTC只对Web服务进行了一点点测试,因为它的接口很简单,但是它的目的是提供一个用客户端文件建立基于Web的客户程序的着手点。
It is actually used quite a bit just to test a Web service because of its simple interface, but its intention is to give you a starting point for a Web-based client using the client-side files.
用一个简单的样例应用程序证明该方法可在没有任何并发性异常的情况下使用ApacheJMeter测试存取。
With a simple sample application, the method was proven to function without any concurrency exceptions using Apache JMeter to test the access.
只需要少量努力,就可以使用更加简单的安装程序(注意,出于测试目的,我运行了一个easy_install - m来删除所安装的包)。
With the slight tweak, we might use an even simpler install (note that for testing purposes, I ran an intervening easy_install -m to remove the installed package).
有时,最简单的方法是让一个人坐在程序前将每一个测试通过或失败的结果都标记下来。
Sometimes it's simplest to have a human sit in front of the program and mark each test as pass or fail.
您可以很容易地将这个非常简单的应用程序扩展为一个非常复杂的应用程序,但它们的编码、测试和调试的过程却是相似的。
This very simple application could be easily extended to become a very sophisticated and complex one, though the process to code, test and debug it would be similar.
该测试应用程序是一个简单的JMS应用程序,它同时扮演了客户端和服务器,并且使用单个数值作为参数。
The test application is a simple JMS application that ACTS both as the client and the server, and takes a single number as an argument.
更改时,应用服务器会重新编译并加载一个JSP标记文件,而无需重新启动应用程序,这使开发和测试都变得非常简单。
When changed, a JSP tag file is recompiled and reloaded by the application server without having to restart the application, which makes both development and testing much easier.
相反,我们建议创建一个简单的复合应用程序,其中只包含要进行测试的组件和一个测试器组件。
Instead, we recommend that you create a simple composite application containing only the component under test and the tester component.
在把历史堆栈集成到相册应用程序之前,首先要建立一个简单的页面来测试其功能。
Before we integrate the history stack with the photo gallery application, we will build a simple page to test the functionality.
您可在自己的应用程序上执行一个简单的测试。
这使得配置下一个在测应用程序的测试框架更加简单。
This will make it easier to configure your testing framework for the next application under test.
所以,如果您的孩子挽起衣袖开始建造的话,那么他一定会享受这一过程,并且学会如何开发一个简单的程序以及对其加以测试。
So, if your child is inclined to rolling up her sleeves and building things, she'll enjoy putting together a cool robot and learn how to develop a simple program to test it out.
并且无争用同步和争用同步间的性能损失差别很大;一个简单的测试程序指出争用同步比无争用同步慢50倍。
The cost difference between an uncontended synchronization and a contended one is huge; a simple test program suggested that a contended synchronization is 50 times slower than an uncontended one.
在创建这个简单应用程序时,同时还创建了一个开发数据库和一个测试数据库。
When you created this simple application, you created a development database and a testing database.
它只是为测试自定义更新应用程序提供了一个简单示例。
This provides an easy sample for testing custom update applications.
现在,让我们来编写一个执行测试查询的简单应用程序(请参见清单2)。
So, let's write a simple app to perform a test query (see Listing 2).
很容易用一个简单的示例应用程序测试此示例中的代码,比如图11 所示的程序
The code in this example can be easily tested with a simple sample application, as the one shown in Figure 11
针对该测试案例,我采用点到点(Point -to - Point)域,并编写了一个简单的应用程序来将消息放到队列中。
For this test scenario, I adopted the Point-to-Point domain, and wrote a simple application to place a message on the queue.
本文使用一个简单的动态web应用程序,借助一些JSP页面来展示SeleniumRC如何工作,以及如何用于自动化测试。
This article USES a simple dynamic web application with JSP pages to demonstrate how Selenium RC works and can be used in automated testing.
在本部分,您可以创建一个非常简单的只有一个servlet的J2EEWeb应用程序,然后在WebSphereApplicationServer6中对该应用程序进行测试及调试。
In this section, you can create a very simple J2EE Web application with a single servlet, then test and debug this application on the WebSphere application Server 6.
回想一下,在上一期中,我比较了一个简单应用程序的几种实现,该应用程序筛选一个测试weblog . xml文档、并显示其中的一些信息。
Recall that in the last installment, I contrasted several implementations of a simple application for filtering a test weblog.xml document, and displaying some information from it.
在PythonWeb服务开发者的这篇文章中,您将考察四项不同的消息传递技术并为每项技术编写一个简单的基准测试程序。
In this installment of The Python Web Services Developer, you will look at four different messaging technologies and write a simple benchmark application for each.
为了可以简单地测试要开发的模块的速度提高情况,我编写了一个简单的测试程序来运行不同版本的模块。
To easily test the speed of the incrementally improving modules I planned to develop, I wrote a small test harness to run different versions of the module.
单击Resume按钮继续执行,应用程序会针对选择的电子邮件显示一个简单的测试消息。
Click the Resume button to continue execution, and the application displays a simple test message for the email you selected.
测试一个Web应用程序的性能不是简单的记录情节并回放它来模拟众多不同的使用者点击这个应用程序。
Testing the performance of a Web application isn't a simple matter of recording a scenario and playing it back to simulate a number of different users hitting the application.
测试一个Web应用程序的性能不是简单的记录情节并回放它来模拟众多不同的使用者点击这个应用程序。
Testing the performance of a Web application isn't a simple matter of recording a scenario and playing it back to simulate a number of different users hitting the application.
应用推荐