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 条
  • [31] Test Generation from UML Sequence Diagrams
    Faria, Joao Pascoal
    Paiva, Ana C. R.
    Yang, Zhuanli
    2012 EIGHTH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY (QUATIC 2012), 2012, : 245 - 250
  • [32] A Hybrid Genetic Algorithm Based Test Case Generation Using Sequence Diagrams
    Shirole, Mahesh
    Kumar, Rajeev
    CONTEMPORARY COMPUTING, PT 1, 2010, 94 : 53 - +
  • [33] Using GUI run-time state as feedback to generate test cases
    Yuan, Xun
    Memon, Atif M.
    ICSE 2007: 29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2007, : 396 - +
  • [34] From state diagrams to sequence diagrams: a requirements acquisition approach
    Wei B.
    Delugach H.S.
    Wang Y.
    International Journal of Computers and Applications, 2019, 41 (02) : 87 - 109
  • [35] Using plant model features to generate reduced test cases for programmable controllers
    Ma, Canlong
    Provost, Julien
    IFAC PAPERSONLINE, 2017, 50 (01): : 11163 - 11168
  • [36] A Novel Approach for Deriving Test Scenarios and Test Cases from Events
    Singh, Sandeep K.
    Sabharwal, Sangeeta
    Gupta, J. P.
    JOURNAL OF INFORMATION PROCESSING SYSTEMS, 2012, 8 (02): : 213 - 240
  • [37] A Novel Approach for On-The-Fly Test Cases Synthesis
    Mei, Jia
    Miao, Huaikou
    Liu, Pan
    SNPD 2009: 10TH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCES, NETWORKING AND PARALLEL DISTRIBUTED COMPUTING, PROCEEDINGS, 2009, : 575 - 578
  • [38] A novel approach to generating test cases with genetic programming
    Karakatič, Sašo
    Schweighofer, Tina
    Lecture Notes in Business Information Processing, 2015, 224 : 260 - 271
  • [39] Proposal of Testing Diagrams for Visualizing Test Cases
    Urata, Seiya
    Katayama, Tetsuro
    2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, : 483 - 484
  • [40] A Constraint-based Approach for Checking Vertical Inconsistencies between Class and Sequence UML Diagrams
    Allaki, Driss
    Dahchour, Mohamed
    En-Nouaary, Abdeslam
    PROCEEDINGS OF THE 18TH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS, VOL 1 (ICEIS), 2016, : 441 - 447