Title :
SSTCSC: A Semantic Structure of Test Cases and Source Code
Author :
Bashir, Muhammad Bilal ; Malik, Tania ; Afzal, Taimoor
Author_Institution :
Center for Software Dependability, Mohammad Ali Jinnah Univ., Islamabad, Pakistan
Abstract :
If the World Wide Web is taken as a mountain of information containing data regarding every aspect of life, then Semantic Web is its extended version, that structures the information and makes it machine process able. Semantic Web has many advantages which have proved it as an innovative approach to structure the data for multipurpose domains. Its characteristics of annotation enable the extraction of precise information which is required by the user. Software testing is the process which evaluates a systems behavior to ensure whether it meets user´s requirement or not. In software engineering, specifically in the software testing domain, semantic structuring the relevant artifacts is new. Researchers provided XML based representations for many languages and approaches but their context is different when we try to apply it on the software testing domain. In this paper, we focus on the shortcomings of the software testing domain when its concerned activities are required to represent semantically. We present a novel approach, Semantic Structure of Test Cases and Source Code (SSTCSC) which relates the RDF based test cases satisfying white box testing coverage criterion statement coverage, with the RDF based target java class(s). After the execution of semantically presented information (test cases against program) is then passes through two phases further i.e. Code Categorization and Code Visualization which shows the final output of the classified code segments visually. Whole process of the presented approach is supported by the tool which performs the related steps with ease automatically.
Keywords :
Java; XML; information retrieval; program testing; semantic Web; source code (software); RDF based target Java class; RDF based test cases; SSTCSC; World Wide Web; XML based representations; code categorization; code segments; code visualization; multipurpose domains; precise information extraction; semantic Web; semantic structure; semantic structuring; software engineering; software testing domain; source code; systems behavior; white box testing coverage criterion; Java; Resource description framework; Semantics; Software; Software testing; XML; Resource Discription Frameowrk (RDF); Semantic Web; Source Code; Test Cases;
Conference_Titel :
Frontiers of Information Technology (FIT), 2013 11th International Conference on
Conference_Location :
Islamabad
Print_ISBN :
978-1-4799-2293-2
DOI :
10.1109/FIT.2013.51