这个例行程序为你的测试程序提供了访问数据库的路径,但它同时使测试程序设计员无法处理注册程序的准确语义。
This routine provides your test programs with the means to access the database, but it also shields the test programmers from having to deal with the exact semantics of the login procedure.
工具会为测试下的程序生成声明复盖率统计数据(这就是说,执行程序中行的数量与百分比)。
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).
现在cd到在步骤8 中所创建的可执行程序所在的目录,并运行一些测试(例如 /tmp/mpich-1.2.6/bin/mpicc -np4xhpl)。
Now cd to the directory with the executable you created in step 8 and run some tests (such as /tmp/mpich-1.2.6/bin/mpicc -np 4 xhpl).
最终,你将创建越来越多的可调用的例行程序来支持测试。
Eventually, you create more and more of these callable routines to support the tests.
如果您知道如何记录、测试和调试完整的脚本,那么您就非常有可能在一行程序中取得成功。
If you know how to document, test, and debug a complete script, you have a much greater chance of succeeding at one-liners.
你可以仅仅的去试试运行程序,然后看看结果对不对?这就是测试的内容。
Well, you could just try it and see if it works, right? That's what testing is all about.
你可以在每一个测试程序中通过复制代码来为注册用户编号,或者你可以使它成为一个单一的,可调用的例行程序。
You could copy the code to handle the login into every test program, or you can make it into a single, callable routine.
同步覆盖:在单元测试中极力推荐测量代码覆盖,但是在测试并行程序时使用它,代码覆盖容易产生误导。
Synchronization coverage: Measuring code coverage is a highly recommended practice in unit testing, but when it comes to concurrent programs, code coverage is misleading.
你创建一个有用的例行程序,然后再一个,接着又一个,很快所有你所做的工作就是创建,重分解和改进测试的基础结构。
You create one useful routine, then another, then another, and pretty soon all you're doing is building and refactoring and refining the test infrastructure.
虽然测试人员不构建一系列可执行程序,但是他们可以评估每个可执行程序如何表示一个从前一个而来的进展。
While testers do not construct a series of executables, they can evaluate how each executable represents a progression from the previous one.
本文介绍了并行算法,并介绍了如何编写并行程序、构建集群以及对集群进行基准测试。
This article covers parallel algorithms, and shows you how to write parallel programs, set up clusters, and benchmark clusters.
XP规则很简单:如果不进行程序员测试,则您不知道要编写什么代码,所以您不会去编写任何代码。
The XP rule is simple: If you don't have a programmer test, you don't know what code to write, so you don't write any code.
有些人在测试软件时是这样的:不管情况如何,他们都可以找到正确的位置来运行程序以发现关键的缺陷。
Some people are like that when it comes to testing software; regardless of the circumstances, they're able to find just the right place to exercise the software under test to find critical bugs.
程序员通常不必测试运行程序的用户是否有权读取数据文件和设置系统时间。
Programmers don't usually have to test whether the user running the program is entitled to read a data file or set the system time.
第2部分将介绍并行算法的知识,并介绍如何编写并行程序、如何构建集群以及如何进行基准测试。
Part 2 covers parallel algorithms, how to write parallel programs, how to set up clusters, and cluster benchmarking.
浏览器测试的运行程序提供了两个途径来显示测试结果:一个是可视化结果,另一个是单元测试统计数据。
The browser test runner provides two ways to view the unit test results: visual results and unit test statistics.
正如您将很快看到的,ConTest不是单元测试的取代者,但它是处理并行程序的单元测试故障的一种补充技术。
As you'll quickly see, ConTest isn't a replacement for unit testing but a complementary technology that addresses the failures of unit testing for concurrency programs.
在本文中,我们介绍了ConTest,一种用于测试、调试和测量并行程序范围的工具。
In this article, we introduce ConTest, a tool for testing, debugging, and measuring the coverage of concurrent programs.
运行程序足够智能,可以分辨出哪个测试类依赖于哪个版本的JUnit,并适当地调用它。
The runner is smart enough to figure out which test class depends on which version of JUnit and invoke it appropriately.
ConTest是用于测试、调试和测量并行程序的范围的工具。
ConTest is a tool for testing, debugging, and measuring the coverage of concurrent programs.
JUnit3测试运行程序(test runner)会在运行每个测试之前自动调用setUp方法。
JUnit 3 test runners automatically invoke the setUp method before running each test.
只要将您想要运行的每个测试的全限定类名传递给测试运行程序,就像针对JUnit4测试一样。
Just pass the fully qualified class name of each test you want to run to the test runner, just as you would for a JUnit 4 test.
在美联航的测试版手机网站上,乘客也可以查询航班状态、空余航班座位、行程以及乘客的Mileage Plus里程信息。
From United’s mobile website, which is in beta, passengers also can check flight status, flight availabilty, itineraries and their Mileage Plus accounts.
尽管JUnit3测试运行程序仍然可以区别这些情况,而JUnit4运行程序将不再能够区分。
While JUnit 3 test runners can still distinguish these cases, JUnit 4 runners will not be able to.
在运行回归测试时,用预定义的 –log_level=test_suite选项运行可执行程序。
When running the regressions, run the executable with the predefined –log_level=test_suite option.
Tripit- 一个旅游计划和行程安排的产品,刚推出测试版。
本研究系采用微型计算机、波形存贮器等技术装备组成了凿岩机械冲击能、冲击频率、行程、压力等工作参数的微机测试系统。
The system consists of microcomputer and transient wave converter etc For the measurement of working parameters of drilling machine such as impact energy or frequency, stroke and pressure.
ADC会员可以利用ADC兼容实验室来在不同类型的硬件和操作系统版本上进行程序测试。
ADC members can take advantage of the ADC Compatibility Labs to test applications on a variety of different types of hardware and operating system versions.
运行程式正在检测中,为了改变后期流程的政策,官员们正在准备必要的文件测试。
The ongoing pilot is testing that approach, and officials are writing the necessary documentation for changing policy at the end of the process.
提出一种长行程多油缸的同步测试新方法,并与计算机相结合,实现了实时检测。
A method of synchronous testing for long travel multi cylinder is proposed in this paper.
应用推荐