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 条
  • [21] An Approach to Generate Test Cases by Multi-path Based on Genetic Algorithm
    Liu, Yu
    Wang, Fengqin
    Zhao, Xiuli
    MECHATRONICS ENGINEERING, COMPUTING AND INFORMATION TECHNOLOGY, 2014, 556-562 : 3976 - 3979
  • [22] An Automated Approach to Generate Test Cases From Use Case Description Model
    Alrawashed, Thamer A.
    Almomani, Ammar
    Althunibat, Ahmad
    Tamimi, Abdelfatah
    CMES-COMPUTER MODELING IN ENGINEERING & SCIENCES, 2019, 119 (03): : 409 - 425
  • [23] Using UML sequence diagrams as the basis for a formal test description language
    Pickin, S
    Jézéquel, JM
    INTEGRATED FORMAL METHODS, PROCEEDINGS, 2004, 2999 : 481 - 500
  • [24] A Novel Approach for Automatic Generation of UML Class Diagrams from XMI
    Hameed, Kashif
    Bajwa, Imran Sarwar
    Naeem, Muhammad Asif
    EMERGING TRENDS AND APPLICATIONS IN INFORMATION COMMUNICATION TECHNOLOGIES, 2012, 281 : 164 - +
  • [25] Consistency Checking of UML Class and Sequence Diagrams
    Ekanayake, E. M. N. K.
    Kodituwakku, Saluka R.
    2015 8TH INTERNATIONAL CONFERENCE ON UBI-MEDIA COMPUTING (UMEDIA) CONFERENCE PROCEEDINGS, 2015, : 98 - 103
  • [26] Using the incremental approach to generate test sets: A case study
    Yu, YT
    Lau, MF
    Chen, TY
    THIRD INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2003, : 263 - 270
  • [27] Using anti-ant-like agents to generate test threads from the UML diagrams
    Li, HZ
    Lam, CP
    TESTING OF COMMUNICATING SYSTEMS, PROCEEDINGS, 2005, 3502 : 69 - 80
  • [28] A semi-automatic approach to translating use cases to sequence diagrams - (Preliminary report)
    Li, LW
    TOOLS 29: TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS, PROCEEDINGS, 1999, 29 : 184 - 193
  • [29] Detection of Design Patterns from Class Diagram and Sequence Diagrams Using Ontology
    Panich, Attawat
    Vatanawood, Wiwat
    2016 IEEE/ACIS 15TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS), 2016, : 277 - 282
  • [30] VeriSIM: A Learning Environment for Comprehending Class and Sequence Diagrams using Design Tracing
    Prasad, Prajish
    Iyer, Sridhar
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING EDUCATION AND TRAINING (ICSE-SEET 2020), 2020, : 23 - 33