清单1显示了用于创建驱动应用程序的两个表格的代码。
Listing 1 shows the code to create the two tables that drive the application.
清单3显示了XML驱动的表格示例代码。
在这样的情况下,使用JUnit的测试人员往往会转而使用FIT这样的框架,因为这样就可以用表格数据驱动测试。
JUnit testers often turn to a framework like FIT in this case because it lets you drive tests with tabular data.
应用推荐