Automatic Test Generation for Dynamic Data Structures
Automatic Test Generation for Dynamic Data Structures
复制标题
DOI:
10.1109/sera.2007.59
复制
发表时间:
2007-08
期刊:
影响因子:
--
通讯作者:
Ruilian Zhao;Qing Li
中科院分区:
文献类型:
--
作者:
Ruilian Zhao;Qing Li
Nowadays, many test data generation approaches are employed on basic numerical types such as integer and real data. However, in real practice, pointers and dynamic data structures are so widely used that most recent test data generation approaches are restricted in application. This paper proposes a path-oriented test data generation approach specifically for dynamic pointer data. Firstly, a least restrictive shape involved in input structure is created, which meets pointer constraints for a given path. Secondly, the value of data field in the created shape is determined. The experiment results show that our approach is effective and practicable in test generation for dynamic pointer data.