I began by replacing the example code in my unit test which instantiates the task library's classes with example code for my unimplemented DSL and revised it several times until I was satisfied.
我开始将我单元测试中初始化任务库各个类的范例代码替换成我尚未实现的DSL的范例代码,并且修改了数次,直到我满意为止。
Now let's begin our example by creating a simple class that we can exercise in our test scenarios.
现在,让我们建立一个测试场景的简单的类,来开始我们的示例。
For example, an ideal situation for using test assertions to solidify requirements is the development of a component that is called by another application.
例如,使用测试断言来巩固需求的理想情形是开发由另一个应用程序调用的组件。
Of course, there are deviations to this path that can be caused, for example, by the test finding a defect and executing an exception path.
当然,对于此途径存在着由,例如,寻找缺陷并执行异常路径的测试引起的偏差。
Changing the process - push Specification By Example as part of a culture change, focus on improving quality, start with functional test automation, introduce a new tool, use TDD as a stepping stone.
改变过程时,将实例化需求作为文化变革的一部分推出,关注质量的提高,从自动化功能测试开始,引进新的工具,使用TDD作为阶梯。
You can test whether this example worked by creating a new Movie item.
您可以创建一个新的Movie 内容项,用它来测试这个例子是否能正确工作。
Now let's apply this theory by writing a few simple test cases for the Quad example.
现在我们为Quad例子写一些测试用例来实践上述的原理。
A possible example of this is a gene called TCF7, which is the subject of a test marketed by deCODE, an Icelandic firm.
一个可能的例子是一个名为tcf7的基因,冰岛的deCODE公司的产品可以检测这个基因。
Validation artifacts are managed by Rational Quality Manager as, for example, test cases and test execution records.
确认工件是由Rational QualityManager作为测试用例以及测试执行记录来管理的。
For example, you can get an XML template of various resources from the Samples folder, which is in the installation directory. You can also access the XML schema of the test plan by uri.
例如,您可以从不同的Sample文件夹中得到各种资源的XML模板,它位于安装目录之下。
The detailed test assertion results are listed by entry (for example, WSDL binding element, message log entry ID, etc.).
已失败的测试断言结果由条目(例如WSDL绑定元素、消息日志条目id等等)列出。
Now that you have learned how to create modular test cases and link them by using test variables, the next sections show you an example of modeling your schedule by using the test modules.
既然您已经学到了怎样创建模块化的测试用例,并使用测试变量将它们联系在一起,那么接下来的部分,将会向您展示使用测试模块来建模日程安排的范例。
Here, we will look at an example test scenario that fills in the missing step highlighted in Figure 5: emulating human intervention by claiming and completing the Retrieve human task.
这里,我们将了解一下示例测试场景,并完成图5中突出显示的缺少步骤:通过声明和完成检索人工任务模拟人工干预。
For example, patterns that are identical in topology might only differ in that patterns used by the test group contain customizations to enable trace after deployment.
比如,拓扑结构相同的模式的唯一区别在于,测试组使用的模式包含能够在部署后启用跟踪的定制。
We'll add features to a running example by iteratively following a simple principle: write a unit test, make it pass.
我们向一个贯穿全文的例子中逐渐添加新功能,并遵循如下简单的规则:编写一个单元测试,然后让它通过。
For example, by focusing on data access or validation, you can prototype and test potential solutions to figure out the best approach for your scenario.
比方说,通过关注数据获取或有效性验证,你能为潜在的解决方案构建原型并进行测试,从而找出适合你的情景的最好的方法。
Figure 10 shows an example of local variable use, where test variables are initialized by using values from a data pool (login credentials).
图10显示了本地变量使用的范例,这里测试变量会使用来自数据汇(登录权限)的值来得到初始化。
In this phase, you might widen the adoption to test the expanded scale by taking on, for example, five to ten projects.
在这一阶段中,您可能要扩宽采用采用五到十个项目来进行测试。
There are large leadership test by the way in a very short term, saving lives after natural disaster for example.
大的领导测验,是非常短期的,就像保护了自然灾害中的生命。
Example of protocol: 2 minute levels, increase of speed by 1km/h per level, start test at 8km/h.
方案的例子:2分钟的阶段,每个阶段以1km/h增速,从8km/h开始。
For example, you can integrate Purify with your unit or smoke test suite that developers must run before checking in any code changes and require them to fix any new memory errors reported by Purify.
例如,您可以将Purify与您的单元或者烟雾测试单元整合在一起,这些单元是开发人员必须在报告任何代码变更前必须运行的单元,并需要它们修复Purify所报告的所有新的存储错误。
For the example here, you will import a Web Services Description Language (WSDL) definition file that is required by the Web service that you will test.
对于此实例,您将导入要测试的Web服务所需的Web服务描述语言(Web Services Description Language,WSDL)的定义文件。
A step by step example of building a registry utility, with test cases.
一步步教你建立一个存取Registry的工具及其测试案例。
For example, if the JVM cannot find a class required by custom code at test run time, IBM Rational Agent Controller will ignore the custom code and act as if it had returned null.
例如,如果在测试运行时jvm不能找到定制代码所需的类,那么IBMRationalAgentController将忽略定制代码并认为它应该返回null。
Each test suite (for example, ts1 in Listing 17) is created by using the macro BOOST_TEST_SUITE.
每个测试套件(比如清单17中的ts1)都是使用BOOST _ test_suite宏创建的。
Now test that the NIS connection is active by using ypcat to query the database directly. For example, to get a dump of the NIS passwd file ordered by name, you would use.
现在通过使用ypcat直接查询数据库,以确定NIS连接为活动状态。
For example, if the search highlighter were to affect 20 join points by design, inspecting the cross-references view would be easier than writing a test for each join point.
例如,如果搜索highlighter需要影响20个联结点,那么检查cross -references视图比为每一个联结点编写测试更容易。
For example, Figure 10 shows the query result of "Employee by position-department" by using the "Test Sample" button when no filter was set for this query Subject.
例如,图10显示没有对这个Query Subject设置过滤器时,使用“TestSample”按钮进行的“Employee byposition - department”查询的结果。
For example, Figure 10 shows the query result of "Employee by position-department" by using the "Test Sample" button when no filter was set for this query Subject.
例如,图10显示没有对这个Query Subject设置过滤器时,使用“TestSample”按钮进行的“Employee byposition - department”查询的结果。
应用推荐