首页 | 本学科首页   官方微博 | 高级检索  
     


Code-coverage guided prioritized test generation
Authors:J Jenny Li  David Weiss  Howell Yee  
Affiliation:

aAvaya Laboratories Research, Software Techonology Research, 233 Mt. Airy Road, Basking Ridge, NJ 07920, USA

bLincoln Laboratory, Massachusetts Institute of Technology, 244 Wood Street Lexington, MA 02420-9108, USA

Abstract:Most automatic test generation research focuses on generation of test data from pre-selected program paths or input domains or program specifications. This paper presents a methodology for a full solution to code-coverage-based test case generation, which includes code coverage-based path selection, test data generation and actual test case representation in program’s original languages. We implemented this method in an automatic testing framework, eXVantage. Experimental results and industrial trials show that the framework is able to generate tests to achieve program line coverage from 20% to 98% with reduced overall testing effort. Our major contributions include an innovative coverage-based program prioritization algorithm, a novel path selection algorithm that takes into consideration program priority and functional calling relationship, and a constraint solver for test data generation that derives constraints from bytecode and solves complex constraints involving strings and dynamic objects.
Keywords:Test generation  Constraint solver  Code-coverage
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号