A toolset for conformance testing against UML sequence diagrams based on event-driven colored Petri nets

被引:7
作者
Faria, Joao Pascoal [1 ,2 ]
Paiva, Ana C. R. [1 ,2 ]
机构
[1] Univ Porto, Fac Engn, INESC TEC, Rua Campo Alegre 823, P-4100 Oporto, Portugal
[2] Univ Porto, Fac Engn, Dept Informat Engn, Rua Campo Alegre 823, P-4100 Oporto, Portugal
关键词
Sequence diagrams; Conformance testing; Petri nets; SEMANTICS; SOFTWARE;
D O I
10.1007/s10009-014-0354-x
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Novel techniques and a toolset are presented for automatically testing the conformance of software implementations against partial behavioral models constituted by a set of parameterized UML sequence diagrams, describing both external interactions with users or client applications and internal interactions between objects in the system. Test code is automatically generated from the sequence diagrams and executed on the implementation under test, and test results and coverage information are presented back visually in the model. A runtime test library handles internal interaction checking, test stubs, and user interaction testing, taking advantage of aspect-oriented programming techniques. Incremental conformance checking is achieved by first translating sequence diagrams to Extended Petri Nets that combine the characteristics of Colored Petri Nets and Event-Driven Petri Nets.
引用
收藏
页码:285 / 304
页数:20
相关论文
共 30 条
[1]  
Ambler S., 2014, EFFECTIVE PRACTICES
[2]  
[Anonymous], 2008, E INFORM
[3]  
[Anonymous], 2007, J SOFTW TOOLS TECHNO
[4]  
Benattou M., 2002, ECOOP WORKSH INT TRA
[5]  
Boroday S, 2009, LECT NOTES COMPUT SC, V5826, P49, DOI 10.1007/978-3-642-05031-2_4
[6]   An interleaving semantics for UML 2 interactions using Petri nets [J].
Bouabana-Tebibel, Thouraya ;
Rubin, Stuart H. .
INFORMATION SCIENCES, 2013, 232 :276-293
[7]   Toward the reverse engineering of UML sequence diagrams for distributed Java']Java software [J].
Briand, Lionel C. ;
Labiche, Yvan ;
Leduc, Johanne .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2006, 32 (09) :642-663
[8]  
Castro M. V., 2013, THESIS FEUP
[9]  
Engels G, 2007, LECT NOTES COMPUT SC, V4364, P182
[10]  
Faria Joao Pascoal, 2013, Testing Software and Systems. 25th IFIP WG 6.1 International Conference, ICTSS 2013. Proceedings: LNCS 8254, P180, DOI 10.1007/978-3-642-41707-8_12