• DocumentCode
    1732917
  • Title

    Improving Automated Testing of Multi-threaded Software

  • Author

    Dantas, Ayla ; Brasileiro, Francisco ; Cirne, Walfredo

  • Author_Institution
    Lab. de Sist. Distribuidos, Univ. Fed. de Campina Grande, Campina Grande
  • fYear
    2008
  • Firstpage
    521
  • Lastpage
    524
  • Abstract
    This paper discusses an approach to avoid incorrect results in the execution of automatic tests of multi-threaded systems. We argue that such incorrect results have two main sources. First, it is typically difficult to determine when all threads have finished processing and thus when it is safe to perform the test assertions. Second, background threads can change the system state while assertions are being performed, thus producing non-deterministic results. The main contributions of this work are: (i) a generic approach that ensures that test assertions are performed in a safe moment; (ii) implementation details of such an approach using aspect-oriented programming (AOP); and (Hi) an evaluation of the proposed approach.
  • Keywords
    multi-threading; program testing; aspect-oriented programming; automated testing; multi-threaded software; Automatic testing; Computer bugs; Condition monitoring; Delay; Multicore processing; Performance evaluation; Programming profession; Software testing; System testing; Yarn; Aspect-Oriented Programming; Automated testing; application monitoring; multi-threaded systems development; test-driven development;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification, and Validation, 2008 1st International Conference on
  • Conference_Location
    Lillehammer
  • Print_ISBN
    978-0-7695-3127-4
  • Type

    conf

  • DOI
    10.1109/ICST.2008.38
  • Filename
    4539584