Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
Randomized Unit Testing: Tool Support and Best Practices James H. Andrews, Susmita Haldar, Yong Lei and Felix Chun Hang Li
 

Summary: Randomized Unit Testing: Tool Support and Best Practices
James H. Andrews, Susmita Haldar, Yong Lei and Felix Chun Hang Li
Report No. 663
January 2006
Department of Computer Science
University of Western Ontario
London, Canada
N6A 5B7
{andrews,haldar,leiyong,cli9}(at)csd.uwo.ca

Abstract: Randomization has long been used in testing, but it has not achieved
widespread acceptance due to a lack of tool support and a failure to establish rec­
ognized best practices. In this paper, we describe RUTE­J, a Java package intended
to provide tool support for randomized Java unit testing. We also discuss the best
practices we have identified in our research on randomized unit testing. We re­
port on case studies and an experiment in which we applied RUTE­J to various
public­domain Java classes, finding failures even in mature software and support­
ing the claim that RUTE­J is an efficient, effective tool for unit testing. Finally, we
compare the use of randomized unit testing to the use of other tools such as model
checkers, and discuss the tradeoffs. We conclude that when best practices are fol­

  

Source: Andrews, Jamie - Department of Computer Science, University of Western Ontario

 

Collections: Computer Technologies and Information Sciences