This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
2008 International Conference on Software Testing, Verification, and Validation
Improving Automated Testing of Multi-threaded Software
April 09-April 11
ISBN: 978-0-7695-3127-4
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 (iii) an evaluationof the proposed approach.
Index Terms:
Automated testing, multi-threaded systems development, application monitoring, Aspect-Oriented Programming, test-driven development
Citation:
Ayla Dantas, Francisco Brasileiro, Walfredo Cirne, "Improving Automated Testing of Multi-threaded Software," icst, pp.521-524, 2008 International Conference on Software Testing, Verification, and Validation, 2008
Usage of this product signifies your acceptance of the Terms of Use.