A Comparison of Constraint-Based and Sequence-Based Generation of Complex Input Data Structures

Software Testing, Verification, and Validation Workshops(2010)

引用 18|浏览1
暂无评分
摘要
Generation of complex input data structures is one of the challenging tasks in testing. Manual generation of such structures is tedious and error-prone. Automated generation approaches include those based on constraints, which generate structures at the concrete representation level, and those based on sequences of operations, which generate structures at the abstract representation level by inserting or removing elements to or from the structure. In this paper, we compare these two approaches for five complex data structures used in previous research studies. Our experiments show several interesting results. First, constraint-based generation can generate more structures than sequence-based generation. Second, the extra structures can lead to false alarms in testing. Third, some concrete representations of structures cannot be generated only with sequences of insert operations. Fourth, slightly different implementations of the same data structure can behave differently in testing.
更多
查看译文
关键词
concrete representation level,constraint-based generation,sequence-based generation,concrete representation,complex input data structure,automated generation approach,complex input data structures,manual generation,complex data structure,abstract representation level,data structure,concrete,complex data,software testing,computer bugs,data structures,tree graphs,java,computer science,tree data structures
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要