Precise Identification of Problems for Structural Test Generation

An important goal of software testing is to achieve at least high structural coverage. To reduce the manual efforts of producing such high-covering test inputs, testers or developers can employ tools built based on automated structural test-generation approaches. Although these tools can easily achieve high structural coverage for simple programs, when they are applied on complex programs in practice, these tools face various problems, such as (1) the external-method-call problem (EMCP), where tools cannot deal with method-calls to external libraries; (2) the object-creation-problem (OCP), where tools fail to generate method-call sequences to produce desirable object states. Since these tools currently could not be powerful enough to deal with these problems in testing complex programs in practice, we propose cooperative developer testing, where developers provide guidance to help tools achieve higher structural coverage. To reduce the efforts of developers in providing guidance to tools, we propose a novel approach, called Covana, which precisely identifies and reports problems that prevent the tools from achieving high structural coverage primarily by determining whether branch statements containing not-covered branches have data dependencies on problem candidates. We provide two techniques to instantiate Covana to identify EMCPs and OCPs.

Speaker Details

Xusheng Xiao is a second year Ph.D. student at the NC State University, advised by Tao Xie. His research interests are automated software testing, program analysis, and application of Natural Language Processing (NLP) techniques in software engineering. In 2010 summer, he interned in IBM T.J. Watson research center, working on developing NLP techniques to automatically extract security policies and invariants from natural language documents. He has published an ICSE 2011 paper on identifying problems faced by structural test generation tools.

Date:
Speakers:
Xusheng Xiao
Affiliation:
NC State University
    • Portrait of Jeff Running

      Jeff Running