The framework provides an entirely different approach , although it is often used in conjunction with one or more data - driven testing strategies 虽然框架通常与一个或一个以上的数据驱动测试策略一同使用,但它本身却提供了一种完全不同的方法。
A data - driven test is a unit test that you configure to be called repeatedly for each row of a data source ; the data from each row is available to each successive run of the test as input data 数据驱动型单元测试是一种配置为针对数据源的每一行重复进行调用的单元测试;每一行中的数据都作为输入数据提供给每个后续的测试运行使用。
This property contains information including the name of the unit test that is currently running , the deployment directory , the names of log files , and for data - driven testing , the database to which you are connected 此属性包含的信息包括:当前正在运行的单元测试的名称、部署目录、日志文件的名称;对于数据驱动型测试,还包括所连接到的数据库。
Data-driven testing (DDT) is a term used in the testing of computer software to describe testing done using a table of conditions directly as test inputs and verifiable outputs as well as the process where test environment settings and control are not hard-coded. In the simplest form the tester supplies the inputs from a row in the table and expects the outputs which occur in the same row.