Nothing Special   »   [go: up one dir, main page]

skip to main content
10.5555/2955491.2955737guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article
Free access

Instrumenting programs with flag variables for test data search by genetic algorithm

Published: 09 July 2002 Publication History

Abstract

Evolutionary search is potentially a powerful way of searching for software test data to satisfy various structural testing criteria. Specific test cases are evaluated by a fitness function constructed by instrumenting the program under test. The more discriminating the fitness function, the more efficient the search. When a program uses flag variables to store the results of predicate expressions, it is difficult to instrument the program effectively. The problem is examined and a solution is given for a special case. An approach for tackling the general cases is described.

References

[1]
Aho, A. V., R. Sethi, and J. D. Ullman (1986). Compilers: Principles, Techniques and Tools. Addison - Wesley.
[2]
Clarke, L. A. (1976, September). A system to generate test data and symbolically execute programs. IEEE Transactions on Software Engineering SE-2(3), 215-222.
[3]
Ferguson, R. and B. Korel (1996, January). The chaining approach for software test data generation. ACM Transactions on Software Engineering and Methodology 5(1), 63-86.
[4]
Ferrante, J., K. J. Ottenstein, and J. D. Warren (1987, July). The program dependence graph and its use in optimization. ACM Transactions on Programming Languages and Systems 9(3); 319-349.
[5]
Goldberg, D. E. (1989). Genetic Algorithms in Search, Optimization and Machine Learning. Addison Wesley.
[6]
Howden, W. (1977). Symbolic testing and the dissect symbolic evaluation system. IEEE Transactions on Software Engineering SE-4(4), 266-278.
[7]
Ince, D. C. (1987). The automatic generation of test data. The Computer Journal 30(1), 63-69.
[8]
Jones, B. F., H. Sthamer, and D. Eyres (1996). Automatic structural testing using genetic algorithms. Software Engineering Journal 11(5), 299-306.
[9]
Korel, B. (1990, August). Automated software test data generation. IEEE Transactions on Software Engineering 16(8), 870-879.
[10]
McGraw, G., C. Michael, and M. Schatz (1998). Generating software test data by evolution. Technical Report RSTR-018-97-01, RST Corporation, Suite 250, 21515 Ridgetop Circle, Sterling VA 20166.
[11]
Pargas, R. P., M. J. Harrold, and R. P. Peck (1999). Test-data generation using genetic algorithms. Software Testing, Verification and Reliabillity 9, 263-282.
[12]
Tracey, N., J. Clark, and K. Mander (1998, March). Automated program flaw finding using simulated annealing. Software Engineering Notes 23(2), 73-81.
[13]
Tracey, N., J. Clark, K. Mander, and J. McDermid (1998). An automated framework for structural test data generation. Procceedings of the 13th IEEE Conference on Automated Software Engineering.
[14]
Untch, R. H., A. J. Offutt, and M. J. Harrold (1993). Mutation analysis using mutant schemata. In Proceedings of the 1993 International Symposium on Software Testing and Analysis ISSTA 1993, New York, NY, USA, pp. 139-147. ACM.
[15]
Wegener, J., A. Baresel, and H. Sthamer (2001). Evolutionary test environment for automatic structural testing. Information and Software Technology 43, 841-854.
[16]
Wegener, J., H. Sthamer, B. F. Jones, and D. Eyres (1997). Testing real-time systems using genetic algorithms. Software Quality Journal 6, 127-135.
[17]
Whitley, D. (1989). The genitor algorithm and selective pressure: why rank based allocation of reproductive trials is best. Proceedings of the Third International Conference GAs., 116-121.

Cited By

View all
  • (2019)Improving search-based software testing by constraint-based genetic operatorsProceedings of the Genetic and Evolutionary Computation Conference10.1145/3321707.3321720(1435-1442)Online publication date: 13-Jul-2019
  • (2014)Generating Software Test Data by Particle Swarm OptimizationProceedings of the 10th International Conference on Simulated Evolution and Learning - Volume 888610.1007/978-3-319-13563-2_4(37-47)Online publication date: 15-Dec-2014
  • (2013)An identification of program factors that impact crossover performance in evolutionary test input generation for the branch coverage of C programsInformation and Software Technology10.1016/j.infsof.2012.03.01055:1(153-172)Online publication date: 1-Jan-2013
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
GECCO'02: Proceedings of the 4th Annual Conference on Genetic and Evolutionary Computation
July 2002
1424 pages

Publisher

Morgan Kaufmann Publishers Inc.

San Francisco, CA, United States

Publication History

Published: 09 July 2002

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)27
  • Downloads (Last 6 weeks)4
Reflects downloads up to 21 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2019)Improving search-based software testing by constraint-based genetic operatorsProceedings of the Genetic and Evolutionary Computation Conference10.1145/3321707.3321720(1435-1442)Online publication date: 13-Jul-2019
  • (2014)Generating Software Test Data by Particle Swarm OptimizationProceedings of the 10th International Conference on Simulated Evolution and Learning - Volume 888610.1007/978-3-319-13563-2_4(37-47)Online publication date: 15-Dec-2014
  • (2013)An identification of program factors that impact crossover performance in evolutionary test input generation for the branch coverage of C programsInformation and Software Technology10.1016/j.infsof.2012.03.01055:1(153-172)Online publication date: 1-Jan-2013
  • (2012)Test data regeneration: generating new test data from existing test dataSoftware Testing, Verification & Reliability10.1002/stvr.43522:3(171-201)Online publication date: 1-May-2012
  • (2011)FlagRemoverACM Transactions on Software Engineering and Methodology10.1145/2000791.200079620:3(1-33)Online publication date: 26-Aug-2011
  • (2010)The relationship between search based software engineering and predictive modelingProceedings of the 6th International Conference on Predictive Models in Software Engineering10.1145/1868328.1868330(1-13)Online publication date: 12-Sep-2010
  • (2010)Why the virtual nature of software makes it ideal for search based optimizationProceedings of the 13th international conference on Fundamental Approaches to Software Engineering10.1007/978-3-642-12029-9_1(1-12)Online publication date: 20-Mar-2010
  • (2009)Evolutionary testing of software with function-assigned flagsJournal of Systems and Software10.1016/j.jss.2009.06.03782:11(1767-1779)Online publication date: 1-Nov-2009
  • (2008)Testability transformationFormal methods and testing10.5555/1806209.1806220(320-344)Online publication date: 1-Jan-2008
  • (2008)A search-based framework for automatic testing of MATLAB/Simulink modelsJournal of Systems and Software10.5555/1326359.132642681:2(262-285)Online publication date: 1-Feb-2008
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media