Software systems have increased in size and complexity. As a result, object-oriented programming (OOP) is increasingly being used in the development of such large and complex systems. Traditional procedural programming requires a design method that follows a sequential flow of control, which is difficult to follow in the case of large systems design. Thinking in terms of real-life objects and their interactions makes design easier in the case of OOP. However, OOP comes with its own set of disadvantages and testing is one of them. Testing of such systems requires much more effort and time. In our approach the program is analyzed to build a system dependence graph-based model. This model is analyzed for test script generation and to find state-save points within the program where the state of the program can be saved and reused for executing another test case. The test cases are prioritized looking at the structural complexity of the program. The distributed testing presented here is different from traditional distributed testing, where they address testing of web and distributed applications. The distributed architecture developed in this work enables testing of OOP in an efficient manner. The concept is implemented for Java programs as there is support for continuation.
Abstract-Software testing is the process of finding bugs in the software by executing the program or application. Basis path testing or structured testing is a white box method which analyses the control flow graph to find the set of linear independent path. Path testing is an approach which ensures that each independent path through the program has been executed at least once. Source program is converted to control flow graph and the test path are extracted from this graph. In this paper, we propose an new fitness function for basis test path generation using Genetic algorithm.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.