Systematic Extraction of Tests from Object-Oriented Programs.

Mohammad Ghoreshi,Hassan Haghighi

FSEN(2021)

引用 0|浏览1
暂无评分
摘要
Existing program-based automated test techniques from object-oriented programs generate only test data or test cases, which are not equipped with effective oracle to reveal the logical errors in the program. In addition, these techniques often focus on conventional code coverage criteria and intra-method testing, and are less concerned with inter-method, intra-class and inter-class testing. In this paper, we propose an automated testing approach to cover the inter-method and intra-class test levels. This approach generates tests that are equipped with effective oracles in terms of expected outcomes to reveal logical errors in the program under test. In order to demonstrate the applicability of the proposed approach, we applied it to a case study containing 14 different classes implemented in Java. Furthermore, we created artificial faulty versions of our case study, and the proposed approach was able to extract tests that reveal failures in 74% of faulty cases.
更多
查看译文
关键词
tests,object-oriented
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要