A framework for inheritance testing from VDM plus plus specifications

被引:0
|
作者
Nadeem, Aamer [1 ]
Lyu, Michael R. [2 ]
机构
[1] Mohammad Ali Jinnah Univ, Ctr Software Dependabil, Islamabad, Pakistan
[2] Chinese Univ Hong Kong, Dept Comp Sci & Engn, Hong Kong, Hong Kong, Peoples R China
关键词
formal specification; test-case generation; specification-based testing;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The benefits offered by the use of formal methods are not limited to avoidance of specification errors and elimination of ambiguities only - a formal specification also provides a sound basis for generating test suites. Inheritance is a powerful mechanism in object-oriented paradigm by which a subclass inherits data and functionality of a super class. Testing of inheritance relationships is crucial in object-oriented testing, as an inheritance error may lead to subtle bugs such as due to overridden functionality. In this paper, we introduce a technique to generate test cases for inheritance testing, using a VDM++ formal specification. The proposed technique is based on the flattening of a VDM++ specification class, and then generating operation sequences from the trace structure specified in the VDM++ specification. The input space for each operation is partitioned, and a test model is constructedfrom the operation sequences and the input partitions. Test paths are generated from the test model, which cover the different operation sequences as well as the partitions. We also define various coverage criteria for test path generation.
引用
收藏
页码:81 / +
页数:2
相关论文
共 50 条
  • [1] An automated approach to inheritance and polymorphic testing using a VDM plus plus specification
    Nadeem, Aamer
    Malik, Zafar I.
    Lyu, Michael R.
    10TH IEEE INTERNATIONAL MULTITOPIC CONFERENCE 2006, PROCEEDINGS, 2006, : 224 - +
  • [2] A framework for automated testing from VDM-SL specifications
    Nadeem, A
    Jaffar-Ur-Rehman, M
    INMIC 2004: 8TH INTERNATIONAL MULTITOPIC CONFERENCE, PROCEEDINGS, 2004, : 428 - 433
  • [3] Prototype of a Modeling Tool to Convert between Extended Place/Transition Nets and VDM plus plus Specifications
    Takagi, Tomohiko
    Kurozumi, Ryo
    ICAROB 2019: PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON ARTIFICIAL LIFE AND ROBOTICS, 2019, : 157 - 160
  • [4] Connecting UML and VDM plus plus with Open Tool Support
    Lausdahl, Kenneth
    Lintrup, Hans Kristian Agerlund
    Larsen, Peter Gorm
    FM 2009: FORMAL METHODS, PROCEEDINGS, 2009, 5850 : 563 - 578
  • [5] DeepMutation plus plus : a Mutation Testing Framework for Deep Learning Systems
    Hu, Qiang
    Ma, Lei
    Xie, Xiaofei
    Yu, Bing
    Liu, Yang
    Zhao, Jianjun
    34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 1158 - 1161
  • [6] Proposal of an Algorithm to Generate VDM plus plus by Using Words Extracted from the Natural Language Specification
    Shigyo, Yasuhiro
    Katayama, Tetsuro
    Kita, Yoshihiro
    Yamaba, Hisaaki
    Aburada, Kentaro
    Okazaki, Naonobu
    PROCEEDINGS OF THE 2020 INTERNATIONAL CONFERENCE ON ARTIFICIAL LIFE AND ROBOTICS (ICAROB2020), 2020, : 763 - 766
  • [7] Specifying and Checking Refinement Relationships in VDM plus
    Kawamata, Yojiro
    Sommer, Christian
    Ishikawa, Fuyuki
    Honiden, Shinichi
    SEFM 2009: SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, 2009, : 220 - +
  • [8] FROM VDM SPECIFICATIONS TO FUNCTIONAL PROTOTYPES
    BORBA, P
    MEIRA, S
    JOURNAL OF SYSTEMS AND SOFTWARE, 1993, 21 (03) : 267 - 278
  • [9] CrossASR plus plus : A Modular Differential Testing Framework for Automatic Speech Recognition
    Asyrofi, Muhammad Hilmi
    Yang, Zhou
    Lo, David
    PROCEEDINGS OF THE 29TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '21), 2021, : 1575 - 1579
  • [10] MDroid plus : A Mutation Testing Framework for Android
    Moran, Kevin
    Tufano, Michele
    Bernal-Cardenas, Carlos
    Linares-Vasquez, Mario
    Bavota, Gabriele
    Vendome, Christopher
    Di Penta, Massimiliano
    Poshyvanyk, Denys
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 33 - 36