DocumentCode
2662364
Title
An optimized approach to generate object oriented software test case by Colored Petri Net
Author
Mirzaeian, Esmaeil ; Mojaveri, Samad Ghaderi ; Motameni, Homayun ; Farahi, Ahmad
Author_Institution
Dept. of IT & Commun., Payam Noor Univ., Tehran, Iran
Volume
2
fYear
2010
fDate
3-5 Oct. 2010
Abstract
In object-oriented software testing, a class is considered to be a basic unit of testing. Attributes of object-oriented software such as inheritance and polymorphism make behavior analysis and test significantly complicated because the state of the objects may cause faults that cannot be easily revealed with traditional testing techniques. In this paper, we propose a new technique for generating the test case by Colored Petri Nets (CPN), which is an extended version of Petri Nets and usually used to system modeling and simulation. Our method considers net-explosion problem and also our generated Net covers all Instances of Objects from Different Classes in the same hierarchy by introducing new algorithm to convert UML Statechart to CPN. A case study is presented to show the benefit of our approach and resulting Net is implemented in CPN-Tools.
Keywords
Petri nets; Unified Modeling Language; graph colouring; inheritance; object-oriented programming; program testing; UML statechart; behavior analysis; colored Petri net; inheritance; net-explosion problem; object oriented software test case generation; optimized approach; polymorphism; system modeling; Color; Conferences; Object oriented modeling; Petri nets; Software; Testing; Unified modeling language; colored petri net; object-oriented; state space graph; test cases;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Technology and Engineering (ICSTE), 2010 2nd International Conference on
Conference_Location
San Juan, PR
Print_ISBN
978-1-4244-8667-0
Electronic_ISBN
978-1-4244-8666-3
Type
conf
DOI
10.1109/ICSTE.2010.5608812
Filename
5608812
Link To Document