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 条
  • [41] Identification of test cases using a formal approach
    Sinha, P
    Suri, N
    TWENTY-NINTH ANNUAL INTERNATIONAL SYMPOSIUM ON FAULT-TOLERANT COMPUTING, DIGEST OF PAPERS, 1999, : 314 - 321
  • [42] Using diagrams class at planning
    Alibiev, D. B.
    Sultanov, G. A.
    BULLETIN OF THE KARAGANDA UNIVERSITY-MATHEMATICS, 2014, 74 (02): : 24 - 29
  • [43] WILL THE NOUN/VERB ANALYSIS BE USED TO GENERATE CLASS DIAGRAMS? AN EYE TRACKING STUDY
    Hutzler, I.
    Hauser, F.
    Reuter, R.
    Mottok, J.
    Gruber, H.
    11TH INTERNATIONAL CONFERENCE OF EDUCATION, RESEARCH AND INNOVATION (ICERI2018), 2018, : 505 - 514
  • [44] Investigating the Role of Use Cases in the Construction of Class Diagrams
    Bente Anda
    Dag I. K. Sjøberg
    Empirical Software Engineering, 2005, 10 : 285 - 309
  • [45] Investigating the role of use cases in the construction of class diagrams
    Anda, B
    Sjoberg, DIK
    EMPIRICAL SOFTWARE ENGINEERING, 2005, 10 (03) : 285 - 309
  • [46] Requirements analysis and UML - Use cases and class diagrams
    Vidgen, R
    COMPUTING & CONTROL ENGINEERING JOURNAL, 2003, 14 (01): : 12 - 17
  • [47] Using model-checkers to generate and analyze property relevant test-cases
    Gordon Fraser
    Franz Wotawa
    Software Quality Journal, 2008, 16 : 161 - 183
  • [48] Using CHRs to generate functional test cases for the Java']Java Card Virtual Machine
    Gouraud, SD
    Gotlieb, A
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 2006, 3819 : 1 - 15
  • [49] Using model-checkers to generate and analyze property relevant test-cases
    Fraser, Gordon
    Wotawa, Franz
    SOFTWARE QUALITY JOURNAL, 2008, 16 (02) : 161 - 183
  • [50] Safe Regression Test Selection from Sequence Diagrams
    Tappong, Warin
    Suwannasart, Taratip
    2013 INTERNATIONAL CONFERENCE ON INDUSTRIAL ENGINEERING AND MANAGEMENT SCIENCE (ICIEMS 2013), 2013, : 1357 - 1363