• DocumentCode
    1851841
  • Title

    A Divergence-Oriented Approach to Adaptive Random Testing of Java Programs

  • Author

    Lin, Yu ; Tang, Xucheng ; Chen, Yuting ; Zhao, Jianjun

  • Author_Institution
    Sch. of Software, Shanghai Jiao Tong Univ., Shanghai, China
  • fYear
    2009
  • fDate
    16-20 Nov. 2009
  • Firstpage
    221
  • Lastpage
    232
  • Abstract
    Adaptive Random Testing (ART) is a testing technique which is based on an observation that a test input usually has the same potential as its neighbors in detection of a specific program defect. ART helps to improve the efficiency of random testing in that test inputs are selected evenly across the input spaces. However, the application of ART to object-oriented programs (e.g., C++ and Java) still faces a strong challenge in that the input spaces of object-oriented programs are usually high dimensional, and therefore an even distribution of test inputs in a space as such is difficult to achieve. In this paper, we propose a divergence-oriented approach to adaptive random testing of Java programs to address this challenge. The essential idea of this approach is to prepare for the tested program a pool of test inputs each of which is of significant difference from the others, and then to use the ART technique to select test inputs from the pool for the tested program. We also develop a tool called ARTGen to support this testing approach, and conduct experiment to test several popular open-source Java packages to assess the effectiveness of the approach. The experimental result shows that our approach can generate test cases with high quality.
  • Keywords
    Java; object-oriented programming; program testing; ARTGen tool; Java programs; adaptive random testing; divergence-oriented approach; object-oriented programs; specific program defect detection; test inputs distribution; Automatic testing; Face detection; Java; Large-scale systems; Object oriented modeling; Packaging; Software engineering; Software testing; Subspace constraints; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering, 2009. ASE '09. 24th IEEE/ACM International Conference on
  • Conference_Location
    Auckland
  • ISSN
    1938-4300
  • Print_ISBN
    978-1-4244-5259-0
  • Electronic_ISBN
    1938-4300
  • Type

    conf

  • DOI
    10.1109/ASE.2009.13
  • Filename
    5431768