跳到主要导航 跳到搜索 跳到主要内容

Test data generation for derived types in C program

  • Zheng Wang*
  • , Xiao Yu
  • , Tao Sun
  • , Geguang Pu
  • , Zuohua Ding
  • , Jue Liang Hu
  • *此作品的通讯作者
  • East China Normal University
  • Zhejiang Sci-Tech University
  • Sun Yat-Sen University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Test data generation is one of the important tasks during software testing. This paper proposes an approach to generating test cases automatically for the unit test of C programs with derived types including pointers, structures and arrays. Our approach combines symbolic execution and concrete execution. The approach captures operations on variables precisely by concrete execution, and thus it is capable of handling derived types. Benefited from symbolic execution, accessing variables as array index can be solved by a substitution strategy. The substitution strategy also translates a path constraint involving variables of derived type to the one containing only primitive variables. An implementation of this approach is integrated into our test case generation tool called CAUT 1.Experimental results show that our approach is effective to generate test data for derived types.

源语言英语
主期刊名Proceedings - 2009 3rd IEEE International Symposium on Theoretical Aspects of Software Engineering, TASE 2009
155-162
页数8
DOI
出版状态已出版 - 2009
活动2009 3rd IEEE International Symposium on Theoretical Aspects of Software Engineering, TASE 2009 - Tianjin, 中国
期限: 29 7月 200931 7月 2009

出版系列

姓名Proceedings - 2009 3rd IEEE International Symposium on Theoretical Aspects of Software Engineering, TASE 2009

会议

会议2009 3rd IEEE International Symposium on Theoretical Aspects of Software Engineering, TASE 2009
国家/地区中国
Tianjin
时期29/07/0931/07/09

指纹

探究 'Test data generation for derived types in C program' 的科研主题。它们共同构成独一无二的指纹。

引用此