Figure 3: The elements of a test suite.
图3:一个测试套件的元素。
Creating a test suite without using macros.
创建不使用宏的测试套件。
Now you will create a test suite for the tests.
现在您将为这些测试创建一个测试套件。
Figure 5: Code template for a test suite script.
图5:测试套件脚本的代码模版。
A test suite for legacy code begins with a single test.
遗留代码的测试套件首先开始于一个单独的测试。
A test suite architecture centered around decision points
以决策点为中心的测试套件体系架构
Next you will create a test suite and a server to execute it.
接下来,您需要创建一个测试套件和一个服务器来执行它。
A test suite is only as good as the quality of the tests it contains.
一个测试套件只是与它所包含的测试质量有同样的性能。
Look at Listing 10, which defines a test suite for your string class.
清单10为字符串类定义一个测试套件。
A test suite script contains several decision scripts and test scripts.
一个测试套件脚本包含很多决策脚本和测试脚本。
To perform code coverage analysis of a test suite, follow these steps
进行代码覆盖率分析的主要步骤为
At the system use-case level, a test suite implements the use-case scenarios.
在系统用例层面,一个测试套件实现用例场景。
So as we look at testing, what we have to find is what's called a test suite.
当我们谈到测试的时候,我们必须明白什么叫做一个测试集。
Then you can add the test case into a test suite that is part of a test plan.
接著您可以将测试案例加入到属于测试计划一部分的测试套件。
Note that TestRunner is not the only way to run a single test or a test suite.
注意,TestRunner并非运行单一测试或测试套件的惟一方法。
As of Rails 3, Rails will have a defined public API with a test suite for that API.
从Rails3开始,Rails将拥有一个定义好的公共api,同时还带有一个测试套件。
Usually multiple test cases are added to a test suite and the complete suite is run.
通常来说,多个测试用例会添加至一个测试套件中,然后才会运行完整的套件。
If you had many test cases, building such a test suite would be time-consuming.
如果你有许多测试环境,建立这样一个测试组合将耗费大量时间。
Listing 22 has a test suite in which only one out of three tests is using fixture.
在清单22给出的测试套件中,三个测试中只有一个使用装备。
At the business level, a test suite traces a business workflow across several use cases.
在页面层面,一个测试套件跨越几个用例追踪业务流程。
What is really cool, though, is that the unit tests function as a test suite for vendors.
但是,真正“炫酷”的地方在于这些单元测试的作用是作为面向供应商的一个测试套件。
For example, imagine a test suite that tests a Web application that requires a login.
例如,假设有一个测试套件测试一个需要登录的Web应用程序。
Finally, JUnit 4 has no suite methods that build a test suite out of multiple test classes.
最后,JUnit4没有suite方法,这些方法用于从多个测试类构建一个测试套件。
A huge issue in designing and writing a test suite is how to handle common setup and teardown code.
在设计和编写测试套件时,一个大问题是如何处理共同的setup和teardown代码。
You must associate your automated tests with test cases and add them to a test suite in a test plan.
您必须建立自动化测试与测试案例的关联,并将它们加入到测试计划中的测试套件。
If the error is encountered during the execution of a test suite, a link to the test suite report is printed.
如果在测试套件执行期间遇到错误,则输出连接到测试套件报告的链接。
Perhaps you're writing a test suite for such a library and find writing the testing code a tedious task.
也许你正在为这些类库编写测试用例,但是发现这是一个让人烦躁的工作。
All the elements of a test suite are defined in a driver table that specifies an un-ordered set of test segments.
一个测试套件的所有元素都在一个驱动表中被定义,在这个驱动表中列出了一系列无序的测试片断。
To create a test suite without macros, instantiate CppUnit::TestSuite, and then add individual tests to the suite.
要想创建不使用宏的测试套件,应该实例化CppUnit::TestSuite,然后在套件中添加测试。
Start with new code, get used to the process, and then revisit the existing code to create a test suite for it.
首先从新代码着手,待您习惯了整个过程以后,再针对现有代码创建测试程序。
应用推荐