摘要
传统基于随机算法、约束求解以及面向白盒测试的测试数据生成方法往往忽略了测试数据与数据库系统之间的依赖关系,同时并不适用于数据复用、Web应用测试。提出一种面向业务流程数据约束的测试数据生成与筛选方法,通过在Web业务流程模型中引入对测试数据的半形式化约束,利用数据池存储技术,并提高测试数据的复用性。通过案例表明,新的测试数据生成技术能够以较低的开销生成可用性高的测试数据集。
Conventional test data generation techniques based on random algorithm, constraint-solving and white-box testing oriented generation method ignore the dependency between test data and database, which are not suitable for test data reuse and web application testing. This paper presents a test data generation and selection approach based on data constraints in business processes, which improves the reusability of data by injecting semi-formalized constraints into web business process with data pool storage technique. The case study shows a set of test data with high usability can be generated by this technique with low consumption.
作者
邓志丹
杨海燕
吴际
DENG Zhidan;YANG Haiyan;WU Ji(School of Computer Science and Engineering, Beihang University, Beijing 100191, China)
出处
《计算机工程与应用》
CSCD
北大核心
2016年第18期214-221,共8页
Computer Engineering and Applications