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 条
  • [31] Checking consistency of SDL plus MSC specifications
    D'Souza, D
    Mukund, M
    MODEL CHECKING SOFTWARE, 2003, 2648 : 151 - 165
  • [32] ElasticO plus plus : An Elastic Optical Network Simulation Framework for OMNeT plus
    Tessinari, Rodrigo Stange
    Puype, Bart
    Colle, Didier
    Garcia, Anilton Salles
    OPTICAL SWITCHING AND NETWORKING, 2016, 22 : 95 - 104
  • [33] The BIA plus plus : Extending the BIA plus to a dynamical distributed connectionist framework
    Jacquet, Maud
    French, Robert M.
    BILINGUALISM-LANGUAGE AND COGNITION, 2002, 5 (03) : 202 - 205
  • [34] Prose plus test cases equals specifications
    Hoffman, D
    Strooper, P
    TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS - TOOLS 34, PROCEEDINGS, 2000, : 239 - 250
  • [35] Compatibility Checking of Heterogeneous Web Service Policies Using VDM plus
    Sheng, Quan Z.
    Yu, Jian
    Maamar, Zakaria
    Jiang, Wei
    Li, Xitong
    2009 IEEE CONGRESS ON SERVICES (SERVICES-1 2009), VOLS 1 AND 2, 2009, : 821 - +
  • [36] On a C plus plus Framework to Support Design by Contract
    Nolle, Lars
    Flechais, Ivan
    PROCEEDINGS OF 2016 IEEE 7TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS 2016), 2016, : 33 - 39
  • [37] Proton plus plus : A Customizable Declarative Multitouch Framework
    Kin, Kenrick
    Hartmann, Bjoern
    DeRose, Tony
    Agrawala, Maneesh
    UIST'12: PROCEEDINGS OF THE 25TH ANNUAL ACM SYMPOSIUM ON USER INTERFACE SOFTWARE AND TECHNOLOGY, 2012, : 477 - 486
  • [38] ECF: A C plus plus framework for evolutionary computation
    Jakobovic, Domagoj
    Durasevic, Marko
    Picek, Stjepan
    Gasperov, Bruno
    SOFTWAREX, 2024, 27
  • [39] The use of simulation framework OMNeT plus plus in telecommunications
    Chlumsky, Petr
    Kocur, Zbynek
    Vodrazka, Jiri
    KNOWLEDGE IN TELECOMMUNICATION TECHNOLOGIES AND OPTICS 2010 (KTTO 2010), 2010, : 87 - 91
  • [40] Framework of Converting C plus plus Class to Hardware
    Zhao Xueming
    Zhou Xuegong
    Wang Lingli
    2008 9TH INTERNATIONAL CONFERENCE ON SOLID-STATE AND INTEGRATED-CIRCUIT TECHNOLOGY, VOLS 1-4, 2008, : 1815 - 1818