Open Access   Article Go Back

An Effective Search Based Algorithm for Structural Test Data Generation

Sachin D. Shelke1 , S.T. Patil2

Section:Research Paper, Product Type: Journal Paper
Volume-7 , Issue-3 , Page no. 517-522, Mar-2019

CrossRef-DOI:   https://doi.org/10.26438/ijcse/v7i3.517522

Online published on Mar 31, 2019

Copyright © Sachin D. Shelke, S.T. Patil . This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

View this paper at   Google Scholar | DPI Digital Library

How to Cite this Paper

  • IEEE Citation
  • MLA Citation
  • APA Citation
  • BibTex Citation
  • RIS Citation

IEEE Style Citation: Sachin D. Shelke, S.T. Patil, “An Effective Search Based Algorithm for Structural Test Data Generation,” International Journal of Computer Sciences and Engineering, Vol.7, Issue.3, pp.517-522, 2019.

MLA Style Citation: Sachin D. Shelke, S.T. Patil "An Effective Search Based Algorithm for Structural Test Data Generation." International Journal of Computer Sciences and Engineering 7.3 (2019): 517-522.

APA Style Citation: Sachin D. Shelke, S.T. Patil, (2019). An Effective Search Based Algorithm for Structural Test Data Generation. International Journal of Computer Sciences and Engineering, 7(3), 517-522.

BibTex Style Citation:
@article{Shelke_2019,
author = {Sachin D. Shelke, S.T. Patil},
title = {An Effective Search Based Algorithm for Structural Test Data Generation},
journal = {International Journal of Computer Sciences and Engineering},
issue_date = {3 2019},
volume = {7},
Issue = {3},
month = {3},
year = {2019},
issn = {2347-2693},
pages = {517-522},
url = {https://www.ijcseonline.org/full_paper_view.php?paper_id=3872},
doi = {https://doi.org/10.26438/ijcse/v7i3.517522}
publisher = {IJCSE, Indore, INDIA},
}

RIS Style Citation:
TY - JOUR
DO = {https://doi.org/10.26438/ijcse/v7i3.517522}
UR - https://www.ijcseonline.org/full_paper_view.php?paper_id=3872
TI - An Effective Search Based Algorithm for Structural Test Data Generation
T2 - International Journal of Computer Sciences and Engineering
AU - Sachin D. Shelke, S.T. Patil
PY - 2019
DA - 2019/03/31
PB - IJCSE, Indore, INDIA
SP - 517-522
IS - 3
VL - 7
SN - 2347-2693
ER -

VIEWS PDF XML
305 164 downloads 104 downloads
  
  
           

Abstract

Software testing is process for improving the quality of software by removing all sorts of errors before deployment of software system. The quality of the testing also depends on the test data used for the testing. If the test data cover all the statements and branches of a source program, then it increases the chances of revealing most of the errors from the given program. Normally test data is selected by tester based on his past experience of similar projects. This is time consuming and person oriented approach. Automation of this process can make the testing efficient, cost-effective and reliable. So we present here the Effective Search Based Algorithm (ESBA) which automatically generates test data to reveal the errors at structural test. Here we used branch distance as the optimization function to generate the test data. We applied this method on three benchmark programs to generate the test data. The experimental results indicate that our method outperforms genetic algorithm, many objective sorting algorithm based upon following criteria: average statement coverage 0.91, average branch coverage 0.84 and the average number of evaluations 23824.

Key-Words / Index Term

Automated Software Testing, Automated Test Data Generation, Structural Testing,, Search based Algorithm, Branch Coverage

References

[1] Shaukat Ali, Muhammad Zohaib Iqbal, Andrea Arcuri, and Lionel C. Briand, "Generating Test Data from OCL Constraints with Search Techniques", IEEE Transaction on Software Engineering, Vol. 39, NO. 10, October 2013.
[2] Mark Harman and Phil McMinn, "A Theoretical and Empirical Study of Search-Based Testing: Local, Global, and Hybrid Search", IEEE Transaction on Software Engineering, Vol. 36, NO. 2, March/April 2010.
[3] T. Mantere and J.T. Alander, “Evolutionary Software Engineering, a Review,” Applied Soft Computing, vol. 5, pp. 315-331, 2005.
[4] Roy P. Pargas, Mary Jean Harrold, Robert R. Peck, "Test Data Generation using Genetics Algorithms", Journal of Software Testing, Verification and Reliability, 1999.
[5] Gilles Bernot, Marie Claude Gaudel, Bruno Marre, "Software Testing based on Formal Specifications:a theory and a tool", Software Engineering Journal (SEJ), Vol.6, No-6, p.387-405, 1991.
[6] Sandra Rapps and Elaine J. Weyuker, "Selecting Software Test Data Using Data Flow Information", IEEE Transactions On Software Engineering, Vol. SE-1l, No. 4, April 1985.
[7] Phil McMinn, "Search-based Software Test Data Generation:A Survey", Software Testing, Verification and Reliability 14(2), pp. 105-156, June 2004.
[8] Mark Harman and Phil McMinn, "A Theoretical and Empirical Study of Search-Based Testing: Local, Global, and Hybrid Search", IEEE Transaction on Software Engineering, Vol. 36, NO. 2, March/April 2010.
[9] Hwa-You Hsu and Alessandro Orso, "MINTS: A General Framework and Tool for Supporting Test-suite Minimization", IEEE ICSE’09, May 16 - 24, 2009, Vancouver, Canada.
[10] Christoph C. Michael, Gary McGraw, and Michael A. Schatz, "Generating Software Test Data by Evolution", IEEE Transaction on Software Engineering, Vol. 27, No. 12, December 2001.
[11] Shahid Mahmood, “A Systematic Review of Automated Test Data Generation Techniques”, Mater Thesis, Software Engineering MSE-2007:26, October 2007.
[12] Saswat Anand, Edmund K. Burke, Tsong Yueh Chen, John Clark, Myra B. Cohen, Wolfgang Grieskamp, Mark Harman, Mary Jean Harrold, Phil McMinn, “An Orchestrated Survey Of Methodologies For Automated Software Test Case Generation”, Elsevier, April 2013.
[13] Corina S.Pasareanu and Willem Visser, “ A survey of new trends in symbolic execution for software testing and analysis”, Springer-Verlag- 2009.
[14] Lionel Briand, Yvan Labiche, "A UML-Based Approach to System Testing", Software Quality Engineering Laboratory, Systems and Computer Engineering Department, Carleton University, 2002.
[15] Shaukat Ali, Lionel C. Briand, Hadi Hemmati, Rajwinder K. Panesar-Walawege, "A Systematic Review of the Application and Empirical Investigation of Search-Based Test Case Generation", IEEE Transaction on Software Engineering, Vol. 36, NO. 6, November/December 2010.
[16] Annibale Panichella, Fitsum Meshesha, Paolo Tonella, "Automated Test Case Generation as a many-Objective Optimization Problem with Dynamic Selection of the Targets", IEEE 2018.
[17] Bogdan Korel, “Automated Software Test Data Generation”, IEEE Transactions on Software Engineering, August 1990.
[18] Simone Scalabrino, Giovanni Grano, Darrio Di Nucci, Rocco Oliveto, and Andrea De Lucia, “Search-based Testing of Procedural Programs: Iterative Single-Target Approach?”, Conference Paper October-2016.
[19] Zoreh Karimi Aghdam and Bahman Arasteh, “An Efficient Method to Genearate Test Data for Software Structural Testing Using Artificial Bee Colony Optimization Algorithm”, International Journal of Software Engineering and Knowledge Engineering Vol-27, No-6, 2017.
[20] Simone Scalabrino, Giovanni Grano, Darrio Di Nucci, Michele Guerra, Andria De Lucia, Harald C Gall and Rocco Oliveto, “OCELOT: A Search Based Test Data Generation Tool for C”, An International Conference on Automated Software Engineering ASE’18.