Automatic Test Case Generation from UML Sequence Diagram

This paper presents a novel approach of generating test cases from UML design diagrams. Our approach consists of transforming a UML sequence diagram into a graph called the sequence diagram graph (SDG) and augmenting the SDG nodes with different information necessary to compose test vectors. These information are mined from use case templates, class diagrams and data dictionary. The SDG is then traversed to generate test cases. The test cases thus generated are suitable for system testing and to detect interaction and scenario faults.

[1]  Xing Zhou,et al.  Evaluation of a Simple Load Balancing Improvement for Reliable Server Pooling with Heterogeneous Server Pools , 2007, Future Generation Communication and Networking (FGCN 2007).

[2]  Thomas Dreibholz,et al.  RSerPool - providing highly available services using unreliable servers , 2005 .

[3]  Thomas Dreibholz An efficient approach for state sharing in server pools , 2002, 27th Annual IEEE Conference on Local Computer Networks, 2002. Proceedings. LCN 2002..

[4]  T. Dreibholz,et al.  The Performance of Reliable Server Pooling Systems in Different Server Capacity Scenarios , 2005, TENCON 2005 - 2005 IEEE Region 10 Conference.

[5]  Thomas Dreibholz,et al.  On Improving the Performance of Reliable Server Pooling Systems for Distance-Sensitive Distributed Applications , 2007, KiVS.

[6]  Lionel C. Briand,et al.  A UML-Based Approach to System Testing , 2001, Software and Systems Modeling.

[7]  John D. McGregor,et al.  A Practical Guide to Testing Object-Oriented Software , 2001, Addison Wesley object technology series.

[8]  Robert V. Binder,et al.  Testing Object-Oriented Systems: Models, Patterns, and Tools , 1999 .

[9]  A. Jefferson Offutt,et al.  Generating Tests from UML Specifications , 1999, UML.

[10]  Thomas Dreibholz,et al.  An Evalulation of the Pool Maintenance Overhead in Reliable Server Pooling Systems , 2007, Future Generation Communication and Networking (FGCN 2007).

[11]  Peter Fröhlich,et al.  Automated Test Case Generation from Dynamic Models , 2000, ECOOP.

[12]  Thomas Dreibholz,et al.  On the performance of reliable server pooling systems , 2005, The IEEE Conference on Local Computer Networks 30th Anniversary (LCN'05)l.

[13]  Xing Zhou,et al.  A Performance Evaluation of RSerPool Server Selection Policies in Varying Heterogeneous Capacity Scenarios , 2007, 33rd EUROMICRO Conference on Software Engineering and Advanced Applications (EUROMICRO 2007).

[14]  Ilka Philippow,et al.  UML-Based Statistical Test Case Generation , 2002, NetObjectDays.

[15]  Philip S. Yu,et al.  A Performance Study of Robust Load Sharing Strategies for Distributed Heterogeneous Web Server Systems , 2002, IEEE Trans. Knowl. Data Eng..

[16]  Thomas Dreibholz,et al.  Load Distribution Performance of the Reliable Server Pooling Framework , 2005, ICN.

[17]  Paolo Tonella,et al.  Reverse engineering of the interaction diagrams from C++ code , 2003, International Conference on Software Maintenance, 2003. ICSM 2003. Proceedings..

[18]  Eda Marchetti,et al.  The Cow_Suite Approach to Planning and Deriving Test Suites in UML Projects , 2002, UML.

[19]  Sunil Samtani,et al.  Evaluation of architectures for reliable server pooling in wired and wireless environments , 2004, IEEE Journal on Selected Areas in Communications.

[20]  Jeff Kramer,et al.  Methodical Analysis of Adaptive Load Sharing Algorithms , 1992, IEEE Trans. Parallel Distributed Syst..

[21]  Jesse H. Poore,et al.  Statistical testing of software based on a usage model , 1995, Softw. Pract. Exp..

[22]  Thomas Dreibholz,et al.  A new scheme for IP-based Internet-mobility , 2003, 28th Annual IEEE International Conference on Local Computer Networks, 2003. LCN '03. Proceedings..

[23]  Jochen Klose,et al.  Scenario-Based Monitoring and Testing of Real-Time UML Models , 2001, UML.

[24]  Marc J. Balcer,et al.  The category-partition method for specifying and generating fuctional tests , 1988, CACM.

[25]  Falk Fraikin,et al.  SeDiTeC-testing based on sequence diagrams , 2002, Proceedings 17th IEEE International Conference on Automated Software Engineering,.

[26]  T. Dreibholz,et al.  Implementing the reliable server pooling framework , 2005, Proceedings of the 8th International Conference on Telecommunications, 2005. ConTEL 2005..

[27]  A. Bertolino,et al.  A Practical approach to UML-based derivation of integration tests , 2000 .

[28]  A. Jefferson Offutt,et al.  Using UML Collaboration Diagrams for Static Checking and Test Generation , 2000, UML.

[29]  Dan Pilone,et al.  UML 2.0 in a nutshell , 2005 .