skip to main content
10.1145/2532443.2532460acmotherconferencesArticle/Chapter ViewAbstractPublication PagesinternetwareConference Proceedingsconference-collections
research-article

PathART: path-sensitive adaptive random testing

Published: 23 October 2013 Publication History

Abstract

As test data widely spreading on the input domain may not thoroughly test the program's logic, in this paper, we propose an approach to generating test data widely spreading on a program's execution paths. In particular, we analyze execution paths of the program, distill constraints for executing the paths, calculate the path distance between test data according to their satisfaction for paths' constraints, and then generate test data far away from each other based on their path distance. The experimental results show that our approach significantly reduces the number of test data generated before the first fault is found.

References

[1]
Jcrasher. Availabe at http://ranger.uta.edu/csallner/jcrasher/.
[2]
T. Chen, G. Eddy, R. Merkel, and P. K. Wong. Adaptive random testing through dynamic partitioning. In Proc. QSIC, pages 79--86, 2004.
[3]
T. Chen and D. Huang. Adaptive random testing by localization. In Proc. APSEC, pages 292--298, 2004.
[4]
I. Ciupa, A. Leitner, M. Oriol, and B. Meyer. Artoo: adaptive random testing for object-oriented software. In Proc. ICSE, pages 71--80, 2008.
[5]
D. Hao, L. Zhang, M.-H. Liu, H. Li, and J.-S. Sun. Test-data generation guided by static defect detection. Journal of Computer Science and Technology, 24(2): 284--293, 2009.
[6]
J. King. Symbolic execution and program testing. Commun. ACM, 19(7): 385--394, 1976.
[7]
N. Kobayashi, T. Tsuchiya, and T. Kikuno. A new method for constructing pair wise covering designs for software testing. Information Processing Letters, 81(2): 85--91, 2002.
[8]
M.-H. Liu, Y.-F. Gao, J.-H. Liu, J.-H. Shan, L. Zhang, and J. Sun. An approach to test data generation for killing multiple mutants. In Proc. ICSM, pages 113--122, 2006.
[9]
I. Mak. On the effectiveness of random testing. Master's thesis, The University of Melbourne, 1997.
[10]
Y. Ni, S.-S. Hou, L. Zhang, J. Zhu, Z. Li, Q. Lan, H. Mei, and J.-S. Sun. Effective message-sequence generation for testing bpel programs. IEEE Transactions on Service Computing, 6(1): 7--19, 2013.
[11]
C. Nie, B. Xu, and L. Shi. A new pairwise covering test data generation algorithm for the system with many 2-level factors. Chinese Journal of Computers, 29(6): 841--848, 2006. In Chinese.
[12]
C. Pacheco, S. Lahiri, M. Ernst, and T. Ball. Feedback-directed random test generation. In Proc. ICSE, pages 75--84, 2007.
[13]
W. Visser, C. Pasareanu, and S. Khurshid. Test input generation with java pathfinder. In Proc. ISSTA, pages 97--107, 2004.
[14]
T. Xie, N. Tillmann, J. de Halleux, and W. Schulte. Fitness-guided path exploration in dynamic symbolic execution. In Proc. DSN, pages 359--368, 2009.
[15]
L. Zhang, T. Xie, L. Zhang, N. Tillmann, J. de Halleux, and H. Mei. Test generation via dynamic symbolic execution for mutation testing. In Proc. ICSM, pages 1--10, 2010.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
Internetware '13: Proceedings of the 5th Asia-Pacific Symposium on Internetware
October 2013
211 pages
ISBN:9781450323697
DOI:10.1145/2532443
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

  • NJU: Nanjing University
  • CCF: China Computer Federation
  • Chinese Academy of Sciences

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 October 2013

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Funding Sources

Conference

Internetware '13
Sponsor:
  • NJU
  • CCF

Acceptance Rates

Internetware '13 Paper Acceptance Rate 15 of 50 submissions, 30%;
Overall Acceptance Rate 55 of 111 submissions, 50%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 15 Sep 2024

Other Metrics

Citations

Cited By

View all

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media