الأبحاث العلمية في جامعة الإسراء
Publications Of Isra University

Amman - Jordan
Best Test Cases Selection Approach Using Genetic Algorithm
Year : 2015-01-02
Faculty : Information Technology
Author : عايش منور هويشل الحروب /  نضال يوسف /  حسن الطراونة / 
Abstarct :
This paper proposes an approach for selecting the best testing scenarios using a Genetic Algorithm. The test cases generation approach uses UML sequence diagrams, class diagrams, and Object Constraint Language (OCL) as software specifications sources. There are three main concepts: Edges Relation Table (ERT), test scenarios generation, and test cases generation used in this work. The ERT is used to detect edges in sequence diagrams, identifies their relationships based on the information available in sequence diagrams and OCL information. ERT is also used to generate the Testing Scenarios Graph (TSG). The test scenarios generation technique concerns the generation of scenarios from the testable model of the sequence diagram. Path coverage technique is proposed to solve the problem of test scenario generation that controls the explosion of paths that arise due to loops and concurrencies. Furthermore, GA is used to generate test cases that cover most of the message paths and most of the combined fragments (loop, par, alt, opt and break), in addition to some structural specifications.