Using Genetic Algorithm as Test Data Generator for Stored PL/SQL Program Units
PL/SQL is the most common language for ORACLE database application. It allows the developer to create stored pro- gram units (Procedures, Functions, and Packages) to improve software reusability and hide the complexity of the execution of a specific operation behind a name. Also, it acts as an inter...
Gespeichert in:
Veröffentlicht in: | Journal of software engineering and applications 2013-02, Vol.6 (2), p.65-73 |
---|---|
Hauptverfasser: | , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | PL/SQL is the most common language for ORACLE database application. It allows the developer to create stored pro- gram units (Procedures, Functions, and Packages) to improve software reusability and hide the complexity of the execution of a specific operation behind a name. Also, it acts as an interface between SQL database and DEVELOPER. Therefore, it is important to test these modules that consist of procedures and functions. In this paper, a new genetic algorithm (GA), as search technique, is used in order to find the required test data according to branch criteria to test stored PL/SQL program units. The experimental results show that this was not fully achieved, such that the test target in some branches is not reached and the coverage percentage is 98%. A problem rises when target branch is depending on data retrieved from tables; in this case, GA is not able to generate test cases for this branch. [PUBLICAITONABSTRACT] |
---|---|
ISSN: | 1945-3116 1945-3124 |
DOI: | 10.4236/jsea.2013.62011 |