Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Automatic string test data generation for detecting domain errors

Published: 01 September 2010 Publication History

Abstract

Domain testing is designed to detect domain errors that result from a small boundary shift in a path domain. Although many researchers have studied domain testing, automatic domain test data generation for string predicates has seldom been explored. This paper presents a novel approach for the automatic generation of ON–OFF test points for string predicate borders, and describes a corresponding test data generator. Our empirical work is conducted on a set of programs with string predicates, where extensive trials have been done for each string predicate, and the results are analysed using the SPSS tool. Conclusions are drawn that: (i) the approach is promising and effective; (ii) there is a strong linear relationship between the performance of the test generator and the length of target string in the predicate tested; and (iii) initial inputs, no shorter than the target string and with characters generated randomly, may enhance the performance in the test data generation for string predicates. Copyright © 2009 John Wiley & Sons, Ltd.
This paper presents a novel approach to the automatic generation of ON-OFF test points for string predicate borders. A number of experiments have been done. The conclusions are drawn that there is a strong linear relationship between the performance of the test generator and the length of the target string, and the performance of the string test data generation can be enhanced with initial inputs not shorter than the target string and with characters generated randomly. Copyright © 2009 John Wiley & Sons, Ltd.

Cited By

View all
  • (2019)A reasoning-based approach to dynamic domain reduction in test data generationInternational Journal on Software Tools for Technology Transfer (STTT)10.1007/s10009-018-0493-621:3(351-364)Online publication date: 25-May-2019
  • (2011)Automated web application testing using search based software engineeringProceedings of the 26th IEEE/ACM International Conference on Automated Software Engineering10.1109/ASE.2011.6100082(3-12)Online publication date: 6-Nov-2011

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Software Testing, Verification & Reliability
Software Testing, Verification & Reliability  Volume 20, Issue 3
September 2010
113 pages
ISSN:0960-0833
EISSN:1099-1689
Issue’s Table of Contents

Publisher

John Wiley and Sons Ltd.

United Kingdom

Publication History

Published: 01 September 2010

Author Tags

  1. ON–OFF test point
  2. domain testing
  3. dynamic test data generation
  4. string predicate

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2019)A reasoning-based approach to dynamic domain reduction in test data generationInternational Journal on Software Tools for Technology Transfer (STTT)10.1007/s10009-018-0493-621:3(351-364)Online publication date: 25-May-2019
  • (2011)Automated web application testing using search based software engineeringProceedings of the 26th IEEE/ACM International Conference on Automated Software Engineering10.1109/ASE.2011.6100082(3-12)Online publication date: 6-Nov-2011

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media