• DocumentCode
    3708623
  • Title

    Unfolding Based Minimal Test Suites for Testing Multithreaded Programs

  • Author

    Hernán Ponce de León;Olli Saarikivi; Kähkönen;Keijo Heljanko;Javier Esparza

  • Author_Institution
    Dept. of Comput. Sci., Aalto Univ., Helsinki, Finland
  • fYear
    2015
  • fDate
    6/1/2015 12:00:00 AM
  • Firstpage
    40
  • Lastpage
    49
  • Abstract
    This paper focuses on the problem of computing the minimal test suite for a terminating multithreaded program that covers all its executable statements. We have in previous work shown how to use unfoldings to capture the true concurrency semantics of multithreaded programs and to generate test cases for it. In this paper we rely on this earlier work and show how the unfolding can be used to generate the minimal test suite that covers all the executable statements of the program. The problem of generating such a minimal test suite is shown to be NP-complete in the size of the unfolding, and as a side result, covering executable transitions of any terminating safe Petri net is also NP-complete in the size of its unfolding. We propose SMT-encodings to these problems and give initial results on applying this encoding to compute the minimal test suite for several benchmarks.
  • Keywords
    "Testing","Petri nets","Instruction sets","Concrete","Encoding","Concurrent computing","Electronic mail"
  • Publisher
    ieee
  • Conference_Titel
    Application of Concurrency to System Design (ACSD), 2015 15th International Conference on
  • Electronic_ISBN
    1550-4808
  • Type

    conf

  • DOI
    10.1109/ACSD.2015.12
  • Filename
    7352424