• DocumentCode
    3073727
  • Title

    The IntiSa Approach: Test Input Data Generation for Non-primitive Data Types by Means of SMT Solver Based Bounded Model Checking

  • Author

    Galler, Stefan J. ; Quaritsch, Thomas ; Weiglhofer, Martin ; Wotawa, Franz

  • Author_Institution
    Inst. for Software Technol., Graz Univ. of Technol., Graz, Austria
  • fYear
    2011
  • fDate
    13-14 July 2011
  • Firstpage
    121
  • Lastpage
    130
  • Abstract
    In this paper we present an approach for automatically deriving test input data from Design by Contract specifications. Preconditions of a method under test (MUT) require specific object states of the input parameters. In this paper we present IntiSa, a novel approach, which calculates test input values to be used with mock objects. The calculated values do not only satisfy the precondition of the method under test, but are guaranteed to be states that could be reached through method calls on the object as well. This property is not supported by previous work, such as random or pure SMT based approaches, and genetic algorithm. But it is important since it reduces false positive test cases. Based on the idea of bounded-model checking, IntiSa encodes possible state space changes of method calls for all parameters of the MUT. This model is then verified against an adopted precondition of the MUT. Besides a detailed discussion of the IntiSa approach we present results obtained by applying our technique to two case studies, one of them a real world application provided by our industry partner. First results show, that IntiSa is twice as fast as random ingenerating primitive and non-primitive test input that satisfies the precondition of the method under test.
  • Keywords
    data handling; formal verification; genetic algorithms; object-oriented programming; program testing; IntiSa approach; SMT solver; bounded model checking; bounded-model checking; design-by-contract specifications; genetic algorithm; method calls; method under test; nonprimitive data types; state space changes; test input data generation; Computer languages; Contracts; Data models; Safety; Semantics; Software; Testing; SMT solver; bounded model checking; software testing; test data generation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Quality Software (QSIC), 2011 11th International Conference on
  • Conference_Location
    Madrid
  • ISSN
    1550-6002
  • Print_ISBN
    978-1-4577-0754-4
  • Electronic_ISBN
    1550-6002
  • Type

    conf

  • DOI
    10.1109/QSIC.2011.22
  • Filename
    6004319