A Genetic Algorithmic Approach for Generating Test Cases

Krishnakumari K*, N.Rajganesh**
*,** Lecturer, Computer Science and Engineering A.V.CCollege of Engineering
Periodicity:October - December'2007
DOI : https://doi.org/10.26634/jse.2.2.562

Abstract

Testing in diverse software development paradigms is an ongoing problem in software engineering. Many techniques have been devised over the past decades to help software engineers create useful testing suites. Here, the focus is on test case generation for object-orientated software using genetic programming. The automatic creation of test data is still an open problem in object-oriented software testing, and many new techniques are being researched. For object orientated software, the automatic test data generation technique is not sufficient, because besides input data used for testing, it additionally has to produce the right sequences of method calls, and the right artifact, to bring the object under test in the required state for testing. Genetic algorithms have already been used to tackle typical testing problems with success, but the use of genetic programming applied to automatic test case generation is relatively new and promising. This paper shows how genetic algorithms combined with different types of software analysis can create new unit tests with a high amount of program coverage. Together with static analysis, the genetic algorithm is able to generate tests for more real world programs in a shorter amount of time. This new approach is implemented in this design.

Keywords

How to Cite this Article?

Krishnakumari K and Rajganesh N (2007). A Genetic Algorithmic Approach for Generating Test Cases. i-manager’s Journal on Software Engineering, 2(2),38-48. https://doi.org/10.26634/jse.2.2.562

References

[I ]. IBM. Eclipse integrated development environement, 2006~ http://www.eclipse~org.
[2]. Instrumentation APi in java http://java.sun.com/j2se /1.5.0/docs/.
[3]. Jovo Plotform Debugger Architecture (JPDA). http:/ /jova.sun.com/products/jpdo/index,jsp.
[4]. Java Virtual Machine Profiler Interface (JVMPi). htfp:// java.sun~com/j2se/I .4.2/ docs/ guide/jvmpi/jvmpi html~
[5]. Leo Relo, Evolutionary computing in search-based software engineering. Master Thesis, 2004. http:/ /www2.lut.fi/~reia/dtyo_Leo_Rela.pdf.
[6]. Aspect} project. htfp://eclipse,org/aspectj/
[7]. http://citeseer.ist,psu,edu/ back9 survey.html. .
[8]. Byte-code engineering library (bcel). http://jakarta .apache.org/bcel/
If you have access to this article please login to view the article or kindly login to purchase the article

Purchase Instant Access

Single Article

North Americas,UK,
Middle East,Europe
India Rest of world
USD EUR INR USD-ROW
Pdf 35 35 200 20
Online 35 35 200 15
Pdf & Online 35 35 400 25

Options for accessing this content:
  • If you would like institutional access to this content, please recommend the title to your librarian.
    Library Recommendation Form
  • If you already have i-manager's user account: Login above and proceed to purchase the article.
  • New Users: Please register, then proceed to purchase the article.