International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 61 - Number 20 |
Year of Publication: 2013 |
Authors: V. Mary Sumalatha, G. S. V. P. Raju |
10.5120/10196-4915 |
V. Mary Sumalatha, G. S. V. P. Raju . Object Oriented Test Case Generation Technique using Genetic Algorithms. International Journal of Computer Applications. 61, 20 ( January 2013), 20-26. DOI=10.5120/10196-4915
Computers have become a necessity in our everyday lives, and are used in a variety of systems, ranging from sophisticated ones to home appliances. Software plays an important role in many of these systems. As a result, the usage of software for a variety of purposes in different domains of modern life is rapidly increasing. With the advancements in technology, computers and in particular their software have become quite complex. Due to this reason, the correctness of software cannot be guaranteed, even by the programmer who has designed it. Since dependence on software is continuously increasing, one do not expect it to fail. However, software often contains errors. The severity of software errors can range from minor irritations to major economical losses or catastrophic situations. Software testing is one of the main activities to be carried out in the software development life cycle. It consumes more money and time, which leads to automation that reduces the human effort in finding bugs and errors. Automation in the last phase of system development is similar to manual testing. In both cases bugs are detected only after code has been complete. So rectifications and modification of the code takes lot of time. So testing process should be started from the beginning phase of software development life cycle and should continue till the last phase. For this it is proposed to generate test cases for object oriented software using UML diagrams like Sequence diagram. Test cases are optimized using the evolutionary algorithm, Genetic Algorithm.