它不但激发程序员去编写测试用例,而且还通过“Youbrokethebuild !”游戏促进了团队之间的合作和融合。
It not only motivates programmers to write tests, it also promotes teamwork and bonding through "You broke the build!" games.
让您的程序运行一个测试用例,并且让其退出。
我们也可以用DOES - HALT快速的计算一个程序是否可以通过所有的测试用例。
We could also use DOES-HALT to quickly compute whether or not a program passes its test cases.
每次测试之后,测试程序都会恢复到初始的状态,这就会在测试用例运行期间清除所有创建的测试数据。
After every test case, the application under test is restored to its initial state, which involves cleaning up the test data created during the test case run.
测试用例:导航一个应用程序,验证其状态,并记录其结果的方法。
Test Cases: methods that navigate through an application, verify its state, and log results.
一旦为应用程序创建了正确的测试用例,没有您的知识项目将无法回归。
Once proper test cases have been created for your application, your project will never regress without your knowledge.
框架不仅为这个简单的小程序生成了视图和控制器,而且还生成了有助于测试用户界面的功能性测试。
The framework has generated not only the views and controller for a simple little application, but also a functional test to help you test the user interface.
接下来,我将定义清单6所示的测试用例,它也包含一个参数,用于进行测试的应用程序的基url。
Next, I define the test case shown in Listing 6, which also takes a parameter for the base URL of the application under test.
当放弃变更时,仍可以保持程序完整。而且,测试用例失败或变更引发错误时,自动化构建会通知您。
You fully integrate when you drop changes, and the automated build notifies you when a test case fails or a change induces errors.
还要作为构建测试流程的一部分测试用于部署应用程序的部署脚本。
The deployment scripts used to deploy the application are also tested as part of the build testing process.
这包括详尽和可用的文档,易于安装的过程以及一组测试用例以确保程序完成设想的操作。
This includes thorough and usable documentation, an easy installation procedure, and a set of test cases to ensure the program does what it is supposed to do.
基于纯文本的应用程序行为描述,她可以让你写出可重用且有很好的诊断报告的集成测试用例。
Based around plain text descriptions of application behaviour, it lets you write integration tests with good reuse and good diagnostic reporting.
集成测试用于测试应用程序的多个不同特性。
Integration tests exercise several different features of an application.
该应用程序管理发布到服务器的测试用例。
This application manages test cases published to the server.
在理想状况下,应用程序开发人员自己为他们编写的代码构建测试用例。
Ideally, the application developers themselves build the test cases for the code they are writing.
应用程序需求表示为测试用例,反映抽象需求和业务规则(可能是从用户案例中提取的)。
Application requirements are expressed as test cases that reflect high-level requirements and business rules that are possibly extracted from user stories.
系统集成测试人员能够通过提取与非功能集成测试用例相关的信息来完成测试用例的程序库。
Systems integration testers are able to complete the test case library by extracting information related to non-functional integration test cases.
接下来必须对内核重新进行编译,并在测试用户空间应用程序之前使引导使用的新映像变为可用。
I must recompile the kernel and make the new image available for booting before testing the user-space application.
数据驱动框架的主要优势是它减少了为很多类型的应用程序创建测试用例的成本。
The main advantage of a data-driven framework is that it reduces the cost of creating test cases for many types of applications.
严格的SOA应用程序测试意味着在一段时间内建立多个测试用例,并且划分成连续运行的在逻辑上相关的测试套件。
Serious testing of SOA applications means building many test cases over time and dividing them into sets of logically-related test suites that are run continuously.
测试用例及其执行越全面,应用程序就越可靠,从而可以尽可能地减小运行时出现意外的情况。
The more thorough the test cases and their execution, the more robust is the application, minimizing the chances of surprises during runtime.
对于这个应用程序,测试用例非常特殊和集中(并且依靠于GUI),以至于数据驱动框架就没有意义了。
For this application, test cases were so specific and focused (and GUI dependent) that a data-driven framework didn't make sense.
这个测试支架消除了对网络和基础设施的需求,从而将此测试用例只限制在这个应用程序本身。
The testing scaffolding removes requirements for networking and infrastructure, isolating the test cases to the application itself.
现在,我们所要做的全部事情就是运行DOES - HALT (COMPARE - output,[program,input,expected output]),这样一来我们就会知道程序是否通过了测试用例,输入,和输出预期的输出。
Now, all we need to do is run DOES-HALT (COMPARE-OUTPUT, [program, input, expected output]) to know whether or not program passes the test case, input, and outputs the expected output.
testcases文件夹包含了程序,您可以使用 tasks 文件夹中的程序来执行测试用例,并且可以记录结果。
The testcases folder contains programs you can use to execute test cases by using programs in the tasks folder, and to log the results.
可以使用fixture指定测试用的数据;mock对象让我们能够集中精力测试应用程序的核心功能,而不必为网络连接或外部系统操心。
Fixtures allow you to specify data for testing, and finally, mock objects let you concentrate on testing the core application without worrying about accessing network connections or external systems.
测试用例定义了一系列输入,同时也可以定义一系列输出,以验证被执行的某些程序特性没有引入任何Bug。
The test case applies a defined set of inputs and also measures a de-fined set of outputs in order to validate that some program characteristic has been implemented without introducing any bugs.
还可以将手动编写的测试用例整合到测试运行中,并且可以通过对工作应用程序运行您的用例来添加功能Junit 测试用例。
Manually written tests can also be incorporated into the test run, and functional JUnit test cases can be added by running your use cases on the working application.
为应用程序生成JUnit测试用例。
在运行以上测试用例时,生成以下输出,然后应用程序就挂起。
When the above test case is run, the following output is produced, and then the application hangs.
应用推荐