In my case, I used the file in listing 4 to seed the database before running my component tests and then used the same file to indicate which data to delete from the database upon test completion.
在本文的例子中,将在运行组件测试前使用清单4中的文件在数据库中播种,然后使用相同的文件指示测试完成时从数据库中删除哪些数据。
Also, running the integration tests in your test environment first will allow you to determine the correct order for importing your changes.
同样,首先在测试环境中运行集成测试,将会帮助您去安排导入变更更加合理的顺序。
One line of thinking is that, since the build verification tests are all automated, what's the harm in running all of them every night — it's just machine time, right?
思考的一个方向是,由于构建验证测试全都自动化了,在每晚运行所有的自动化测试的伤害是什么,——只是机器时间,对吗?
Running the tests early and often gives you absolute confidence in your code all the time.
尽早运行测试通常使您在任何时候都对代码充满信心。
Good unit tests encourage loose coupling between units, a requirement to get the test running in a test harness.
好的单元测试要求单元间的松散耦合,这是在测试条件下让测试得以运行的条件。
Before you view the failing report, did you notice how quickly the unit tests ran, as well as the noticeable delay in running the integration tests?
在查看失败报告之前,您是否注意到单元测试运行速度很快,而在运行集成测试时会有明显的延迟?
Moreover, running different types of developer tests, such as component, functional and performance, can shine a light on problem areas earlier in the development life cycle.
而且,运行各种类型的开发人员测试,如组件测试、功能测试和性能测试,能够在开发生命周期中更早地 将问题显示出来。
The screen shot in Figure 3 shows the coverage data produced by running the tests on one solution.
图3中显示的是在一个解决方案中通过运行测试产生的覆盖数据。
Remember, at this point in the standard approach to regression tests, the team would have been blindly running the whole regression suite.
记住,在这一点上,用回归测试的标准方法,团队会盲目地运行整个回归套件。
The practices rely on manual steps -- integrating code, running tests, and checking code in at the right times -- that can lead to mistakes.
目前的实践依赖手工步骤 ——集成代码、运行测试、在合适的时间检入代码,这样的实践有可能造成错误。
In addition to running tests on file systems in partitions, a spot check was done on file systems in an LVM configuration, with the LVM partition being either properly or improperly aligned.
除了在分区中对文件系统运行测试之外,在一个LVM配置中还对文件系统执行了抽样检查,不管LVM分区是否经合理对齐。
These work in conjunction with SCM systems to automatically watch the code repository and build the system (including running tests and packaging artifacts) periodically or whenever anything changes.
它们与SCM系统联合,自动地观察代码存储库,并周期地或在有任何变更的时候构建系统(包括运行测试和打包工件)。
If you don't have unit tests, it might be a good idea to start introducing them in this stage (if you didn't get around to it in the "get it running" stage, for example).
如果您没有单元测试,那么在这个阶段引入它可能是个好主意(例如,如果您在“使它运行”阶段没有找到使用它的机会)。
Running the tests in other browsers.
在其他浏览器中运行测试。
In order to test cloud performance, the authors of the report have selected 4 types of tests and benchmarking 5 native applications running on 5 different cloud platforms.
为了测试云性能,报告作者选取了4种类型的测试并在5个云平台上运行5个原生应用作为基准。
Instead, zope.testing leaves it to each programmer to find the tests in each module that are worth running and put them together in a list.
相反,zope .testing让程序员自己寻找每个模块中需要运行的测试并把它们集中在一个列表中。
Now that you have the tests running in the Eclipse IDE, with the help of an Apache Ant script and a few targets, you can automate the tests completely.
借助一个Apacheant脚本和几个目标的帮助,您已经在EclipseIDE中运行了一些测试,您还可以完全自动化这些测试。
In Hantam, where the project has been running for seven months, seven field workers have submitted 742 tests through the WQReporter.
该项目在Hantam已经运行了几个月,7个实地工作者已经通过WQRepoter提交了742条测试数据。
When running tests, you must pass in at least one VM argument to help specify which GWT mode (hosted or Web) to run the test in.
运行测试时,您必须至少传递一个VM参数,指明在哪种GWT模式(托管或Web)下运行测试。
JVM shows greatly improved performance over the 1.3.1 version for this type of operation, running about seven times faster in my tests. The IBM 1.4.0.
在这类操作的性能方面,Sun 1.4.1JVM显示了比1.3.1版本很大的改进,在我的测试中运行速度大约是1.3.1版本的开部。
Since each process can run on a different CPU core, running -j 4 on a four-CPU machine would allow all four CPUs to be active in running tests at once.
因为每个进程可以在不同的CPU核上运行,所以如果在有四个CPU 的计算机上运行 -j4,就可以同时用四个 CPU 运行测试。
Running the tests reveals that the results of the parser aren't yet in the AST types I created earlier (expr and its kin), but instead in a form consisting of Lists and Strings and such.
运行测试表明,解析器的结果仍不是我前面创建的AST类型(expr和它的亲属),而是由List和String等组成的一种形式。
Speed: In my tests, on every machine, Windows 7 ran swiftly and with far fewer of the delays typical in running Vista.
速度:我测试的每部机器上,Windows7的运行速度都很快,延迟现象也比Vista上常见到的要少的多。
Another advantage of this technique, in addition to the speed of running tests, is the added flexibility of how you want your tests to handle test data.
这个技术的另一个优势是,除了运行测试的速度加快之外,还有您想要您的测试如何控制测试数据的附加灵活性。
But if the coverage is poor, then targeted testing can lead you to conclude, in some cases, that you have no suitable tests worth running.
但如果覆盖很低,那么有时候,目标测试可能使您得出结论,您没有合适的测试值得运行。
Additionally, operations are provided to re-execute test cases, cancel test execution, debug test cases, and auto-expand the test case information in the window as the tests are running.
另外,它提供了操作以重新执行测试用例,取消测试执行,调试测试用例,并在测试运行时自动展开窗口中的测试用例信息。
In a continuous integration environment, programmers are writing code, running the build and tests on their own workstations, and checking in multiple times a day.
在持续集成的环境中,程序员需要编写代码,在工作站上运行构建和测试,一天内多次进行检入。
For example, our interviews uncovered a significant failure in the current process which results in the automated tests running against non-baselined versions of the test database.
举例来说,我们的采访揭开了当前处理过程中的一个重大的失误,它导致了自动化的测试运行在测试数据库的非基线的版本上。
For example, our interviews uncovered a significant failure in the current process which results in the automated tests running against non-baselined versions of the test database.
举例来说,我们的采访揭开了当前处理过程中的一个重大的失误,它导致了自动化的测试运行在测试数据库的非基线的版本上。
应用推荐