|
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
|
| Volume 103 - Issue 4 |
| Published: October 2014 |
| Authors: Anshu Bansal, Rajesh K. Bhatia |
10.5120/18061-8993
|
Anshu Bansal, Rajesh K. Bhatia . Test Path Selection of Polymorphic Call-sites. International Journal of Computer Applications. 103, 4 (October 2014), 15-18. DOI=10.5120/18061-8993
@article{ 10.5120/18061-8993,
author = { Anshu Bansal,Rajesh K. Bhatia },
title = { Test Path Selection of Polymorphic Call-sites },
journal = { International Journal of Computer Applications },
year = { 2014 },
volume = { 103 },
number = { 4 },
pages = { 15-18 },
doi = { 10.5120/18061-8993 },
publisher = { Foundation of Computer Science (FCS), NY, USA }
}
%0 Journal Article
%D 2014
%A Anshu Bansal
%A Rajesh K. Bhatia
%T Test Path Selection of Polymorphic Call-sites%T
%J International Journal of Computer Applications
%V 103
%N 4
%P 15-18
%R 10.5120/18061-8993
%I Foundation of Computer Science (FCS), NY, USA
The paper proposes System Dependence Graph (SDG) based algorithm to select different test paths for testing polymorphic call-sites. SDG, includes control and data dependencies, helps both the testers and developers of object-oriented programs to better understand the polymorphic interactions within the software. In addition, the algorithm considers only the method bindings of a polymorphic call-site having different definition sets. As a result, the number of test paths for testing polymorphism gets reduced. Also, the algorithm has been implemented in a prototype Graphical User Interface (GUI) based tool. The results are obtained by using the tool, which demonstrate the proposed technique.