A Novel Approach to Generate Test Cases Using Class and Sequence Diagrams

被引:4
|
作者
Asthana, Shireesh [1 ]
Tripathi, Saurabh [1 ]
Singh, Sandeep Kumar [1 ]
机构
[1] Jaypee Inst Informat Technol, Dept Comp Sci & Informat Technol, Noida, India
来源
关键词
Automatic Testing; Model Based Testing; Test Case Generation; UML; BVA; Robustness Testing;
D O I
10.1007/978-3-642-14825-5_14
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
It is very important in today's highly dynamic environment with changing requirements to develop test plan at each stage of the Software Development Life Cycle. Owing to the ever changing requirements, adequate updation in the requirement specifications is unavoidable. Due to lack of proper updation in the requirements, inconsistencies creep up. Research shows that number of software fail on account of these inconsistencies because proper testing is not possible on archaic requirements. Further, the increasing complexity of the projects make manual testing impossible. This calls for automatic testing of specifications to keep a check on the inconsistencies. Most of the earlier approaches to testing specifications use intermediate forms that makes automation difficult. In this paper, we will present a novel approach to automatic test case generation that integrates information from UML class and sequence diagrams and at the same time does not use any intermediate form. Users input the diagram information in the form of XMI files. These files are processed to extract the environment variables from the class diagrams and test sequences from sequence diagram and finally generate the test cases by applying Robustness Testing on the test sequence generated. Thus we avoid the intermediate forms as well as make automation an easier task.
引用
收藏
页码:155 / 167
页数:13
相关论文
共 50 条
  • [1] A Novel Approach to Generate Test Cases from UML Activity Diagrams
    Kundu, Debasish
    Samanta, Debasis
    JOURNAL OF OBJECT TECHNOLOGY, 2009, 8 (03): : 65 - 83
  • [2] An Approach to Generate Test Cases from Sequence Diagram
    Dhineshkumar, M.
    Galeebathullah
    2014 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING APPLICATIONS (ICICA 2014), 2014, : 345 - 349
  • [3] Regression test selection using class, sequence and activity diagrams
    Dahiya, Sumit
    Bhatia, Rajesh K.
    Rattan, Dhavleesh
    IET SOFTWARE, 2016, 10 (03) : 72 - 80
  • [4] A Survey on Test Case Generation using UML Diagrams and Feasibility Study to Generate Combinatorial Logic Oriented Test Cases
    Tatale, Subhash B.
    Prakash, V. Chandra
    INTERNATIONAL JOURNAL OF NEXT-GENERATION COMPUTING, 2021, 12 (02): : 254 - 269
  • [5] Techniques to Generate UTP-based Test Cases from Sequence Diagrams Using M2M (Model-to-Model) Transformation
    Seo, Yongjin
    Cheon, Eun Young
    Kim, Jin-A
    Kim, Hyeon Soo
    2016 IEEE/ACIS 15TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS), 2016, : 649 - 654
  • [6] A Novel Test Case Design Technique Using Dynamic Slicing of UML Sequence Diagrams
    Samuel, Philip
    Mall, Rajib
    E-INFORMATICA SOFTWARE ENGINEERING JOURNAL, 2008, 2 (01) : 61 - 77
  • [7] Using Dynamic Execution Data to Generate Test Cases
    Dara, Rozita
    Li, Shimin
    Liu, Weining
    Smith-Ghorbani, Angi
    Tahvildari, Ladan
    2009 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, CONFERENCE PROCEEDINGS, 2009, : 433 - +
  • [8] Using ontology to generate test cases for GUI testing
    Li, Han
    Guo, He
    Chen, Feng
    Yang, Hongji
    Yang, Yuansheng
    INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2011, 42 (2-3) : 213 - 224
  • [9] A Prolog Based Approach to Consistency Checking of UML Class and Sequence Diagrams
    Khai, Zohaib
    Nadeem, Aamer
    Lee, Gang-soo
    SOFTWARE ENGINEERING, BUSINESS CONTINUITY, AND EDUCATION, 2011, 257 : 85 - +
  • [10] Semi-automatic approach to translating use cases to sequence diagrams
    Li, Liwu
    Proceedings of the Conference on Technology of Object-Oriented Languages and Systems, TOOLS, 1999, : 184 - 193