忘记有更少的代码吧,了解数据驱动测试在测试什么将更容易。
Forget how much less code there is, it's easier to tell what the data-driven test is testing.
考虑一下能在您的自动化测试中使用的一些数据驱动测试的方式。
Think about some of the ways you can use data-driven testing in your test automation.
数据驱动的场景:建立即时的数据驱动测试,提高测试覆盖率。
Data driven Scenarios: This allows to build data-driven tests on the fly for increased test coverage.
不要觉得好像如果您想要进行数据驱动测试,您就需要立刻转换您所有的脚本。
Don't feel like if you want to do data-driven testing that you need to convert all of your scripts at once.
它为功能性的测试、回归测试、GUI测试以及数据驱动测试,提供了自动化的测试功能。
It provides automated testing capabilities for functional testing, regression testing, GUI testing, and data-driven testing.
虽然框架通常与一个或一个以上的数据驱动测试策略一同使用,但它本身却提供了一种完全不同的方法。
The framework provides an entirely different approach, although it is often used in conjunction with one or more data-driven testing strategies.
在这样的情况下,使用JUnit的测试人员往往会转而使用FIT这样的框架,因为这样就可以用表格数据驱动测试。
JUnit testers often turn to a framework like FIT in this case because it lets you drive tests with tabular data.
InfoQ:与其它像DBUnit之类的数据测试框架相比,Twist 2.0的数据驱动测试场景怎么样?
InfoQ: How does the data Driven test Scenario feature in Twist 2.0 compare with other data testing frameworks like DBUnit?
数据驱动测试是一项单个测试脚本使用不同的输入和响应数据被重复地执行的技术,这些数据来源于一个预定义的数据集。
Data-driven testing is a technique where a single test script is used repeatedly with varying input and response data that comes from a predefined data set.
介绍了一种自动测试系统(ats)软件结构,在该结构中,应用数据库管理测试数据,并通过测试数据驱动测试系统工作。
A software architecture of automatic test system (ATS) is introduced. Database is used to manage the data of test, and the system is drived by the data in this software architecture.
RationalPerformance Tester为功能性的测试、回归测试、GUI测试以及数据驱动测试,提供了自动化的测试功能。
Rational Performance Tester provides automated testing capabilities for functional testing, regression testing, GUI testing, and data-driven testing.
当您在RationalFunctionalTester里创建一个数据驱动测试时,您可以用不同的输入和响应数据来重复地使用单个测试脚本。
When you create a data-driven test in Rational Functional Tester, you can use a single test script repeatedly with varying input and response data.
这个工具包中有用于加载数据库和驱动基准测试程序的一些基准工具。
Inside the kit are the benchmark facilities for loading the database and driving the benchmark.
那么,从保存数据对象的XML表示形式的外部配置文件驱动测试似乎比较明智。
It seems wise, then, to drive the tests away from external configuration files holding XML representations of the data objects.
一个可以使脚本成为数据驱动并开始向开发人员已经编码的简单用例中添加更多用例的测试人员立即得到了该脚本。
The script is immediately available to a tester, who can make the script data-driven and start adding more cases to the simple cases the developer already coded.
对于这个应用程序,测试用例非常特殊和集中(并且依靠于GUI),以至于数据驱动框架就没有意义了。
For this application, test cases were so specific and focused (and GUI dependent) that a data-driven framework didn't make sense.
数据驱动框架的主要优势是它减少了为很多类型的应用程序创建测试用例的成本。
The main advantage of a data-driven framework is that it reduces the cost of creating test cases for many types of applications.
数据驱动框架最大的缺点之一是,它创建新的测试用例太容易了。
One of the most prominent drawbacks to a data-driven framework is that it makes creating new test cases so easy.
DB 2:下载DB 2 9.5数据服务器的测试驱动程序。
对比数据驱动的框架(本系列中所涵盖的下一个框架),在那您更加关注于将数据从您的测试用例中提取出来。
Contrast that to a data-driven framework (the next framework covered in this series) where you are more concerned with abstracting the data from your test cases.
fixture类的作用相当于驱动程序,确定如何根据SUT来测试表中的示例数据集。
The fixture class ACTS as the driver to determine how the sample data sets in the table are to be tested against the SUT.
我们正努力给大家提供一种方式,通过大型数据集驱动测试场景。
We are trying to give people a way to drive their testing scenarios via a large data set. Say for example you've written the following test in Twist
这将显示出系统在测试时的内部情况,因为数据收集机制是在系统测试下进行的,而不是负载驱动的。
This shows the inside of the system under test, because the data collection mechanisms are on the systems under test, not the load drivers.
最终结果是一个表示与特定的产品驱动程序冲撞的所有测试的完全覆盖的数据库。
The end result is a database representing the complete coverage of all tests run against that particular product driver.
要构建和测试数据库驱动的代码,就需要向可提供必要的JDBC驱动程序的组件中添加库。
To build and test your database-driven code, you need to add libraries to your component that provide the necessary JDBC drivers.
下图演示了数据在测试驱动器与被测试系统之间的流动。
The illustration below shows how the data flows between test drivers and the system under test.
另外,它的嵌入式数据相关性过滤器能够检查可变数据,并根据数据驱动加载测试需求进行测试。
In addition, its built-in data correlation filters detect variable data, as well as preparing tests for data-driven load test generation.
当一个数据驱动表连接到测试套件时,我们就可以将输入的各种组合的数据记录列入到测试脚本和动态变化的AUT行为中。
When a data-driven table is linked to the test suite, it is possible to specify several combinations of data records to input to the test scripts and to dynamically change the behavior of the AUT.
主要的数据库厂商正在致力于提供JDBC 3.0的驱动程序,一些早期的测试版驱动程序已经可以获得。
Leading database vendors are working to provide JDBC 3.0 drivers, and some early beta drivers are already available.
MacOSX附带一个名为iodbctest的命令行实用程序,可以使用它测试odbc驱动程序和数据源。
Mac OS X comes with a command-line utility called iodbctest you can use to test odbc drivers and data sources.
应用推荐