2014 IEEE Seventh International Conference on Software Testing, Verification and Validation (ICST) (2014)
Cleveland, OH, USA
March 31, 2014 to April 4, 2014
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/ICST.2014.42
Statistical testing is a probabilistic approach to test data generation that has been demonstrated to be very effective at revealing faults. Its premise is to compensate for the imperfect connection between coverage criteria and the faults to be revealed by exercising each coverage element several times with different random data. The cornerstone of the approach is the often complex task of determining a suitable input profile, and recent work has shown that automated metaheuristic search can be a practical method of synthesising such profiles. The starting point of this paper is the hypothesis that, for some software, the existing grammar-based representation used by the search algorithm fails to capture important relationships between input arguments and this can limit the fault-revealing power of the synthesised profiles. We provide evidence in support of this hypothesis, and propose a solution in which the user provides some basic contextual knowledge to guide the search. Empirical results for two case studies are promising: knowledge gained by a very straightforward review of the software-under-test is sufficient to dramatically increase the efficacy of the profiles synthesised by search.
grammar-based testing, search-based software testing, statistical testing
S. Poulding and H. Waeselynck, "Adding Contextual Guidance to the Automated Search for Probabilistic Test Profiles," 2014 IEEE Seventh International Conference on Software Testing, Verification and Validation (ICST), Cleveland, OH, USA, 2014, pp. 293-302.