International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 145 - Number 6 |
Year of Publication: 2016 |
Authors: Wasiur Rhmann, Vipin Saxena |
10.5120/ijca2016910718 |
Wasiur Rhmann, Vipin Saxena . Optimized and Prioritized Test Paths Generation from UML Activity Diagram using Firefly Algorithm. International Journal of Computer Applications. 145, 6 ( Jul 2016), 16-22. DOI=10.5120/ijca2016910718
Due to limited resources and challenging time schedule, software testing is usually performed in pressure to assure the fulfilment of the software requirements. Test case generation is a crucial activity of the software testing phase. Testing of all paths from Control Flow Graph is not feasible in software testing, due to limited time and cost. Generation of optimized test paths is a challenging part of the software testing process. In this paper, a new technique to obtain the optimized test paths from activity diagram designed through Unified Modeling Language is demonstrated. A modified algorithm called as Firefly algorithm is used to obtain the critical paths. A case study of air flight check-in is taken as a case study to explain the proposed approach. Paths are prioritized based on Information Flow Metric and their cyclomatic complexity. Obtained optimized paths have no redundancy and produced the better results.