• DocumentCode
    2600551
  • Title

    Coverage rewarded: Test input generation via adaptation-based programming

  • Author

    Groce, Alex

  • Author_Institution
    Sch. of Electr. Eng. & Comput. Sci., Oregon State Univ., Corvallis, OR, USA
  • fYear
    2011
  • fDate
    6-10 Nov. 2011
  • Firstpage
    380
  • Lastpage
    383
  • Abstract
    This paper introduces a new approach to test input generation, based on reinforcement learning via easy to use adaptation-based programming. In this approach, a test harness can be written with little more effort than is involved in naïve random testing. The harness will simply map choices made by the adaptation-based programming (ABP) library, rather than pseudo-random numbers, into operations and parameters. Realistic experimental evaluation over three important fine-grained coverage measures (path, shape, and predicate coverage) shows that ABP-based testing is typically competitive with, and sometimes superior to, other effective methods for testing container classes, including random testing and shape-based abstraction.
  • Keywords
    learning (artificial intelligence); program diagnostics; program testing; ABP based testing; adaptation based programming library; container classes; experimental evaluation; random testing; reinforcement learning; shape based abstraction; test input generation; Containers; Context; Java; Learning; Libraries; Shape; Testing; reinforcement learning; software testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering (ASE), 2011 26th IEEE/ACM International Conference on
  • Conference_Location
    Lawrence, KS
  • ISSN
    1938-4300
  • Print_ISBN
    978-1-4577-1638-6
  • Type

    conf

  • DOI
    10.1109/ASE.2011.6100077
  • Filename
    6100077