数据驱动框架的主要优势是它减少了为很多类型的应用程序创建测试用例的成本。
The main advantage of a data-driven framework is that it reduces the cost of creating test cases for many types of applications.
对于这个应用程序,测试用例非常特殊和集中(并且依靠于GUI),以至于数据驱动框架就没有意义了。
For this application, test cases were so specific and focused (and GUI dependent) that a data-driven framework didn't make sense.
数据驱动框架最大的缺点之一是,它创建新的测试用例太容易了。
One of the most prominent drawbacks to a data-driven framework is that it makes creating new test cases so easy.
在这样的情况下,使用JUnit的测试人员往往会转而使用FIT这样的框架,因为这样就可以用表格数据驱动测试。
JUnit testers often turn to a framework like FIT in this case because it lets you drive tests with tabular data.
对比数据驱动的框架(本系列中所涵盖的下一个框架),在那您更加关注于将数据从您的测试用例中提取出来。
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.
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?
虽然框架通常与一个或一个以上的数据驱动测试策略一同使用,但它本身却提供了一种完全不同的方法。
The framework provides an entirely different approach, although it is often used in conjunction with one or more data-driven testing strategies.
虽然框架通常与一个或一个以上的数据驱动测试策略一同使用,但它本身却提供了一种完全不同的方法。
The framework provides an entirely different approach, although it is often used in conjunction with one or more data-driven testing strategies.
应用推荐