Software Testing Based on Formal Specification

被引:0
|
作者
Gaudel, Marie-Claude [1 ]
机构
[1] Univ Paris 11, LRI, F-91405 Orsay, France
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
It is well accepted that formal specifications can be useful bases for software testing; some pioneering papers come back to the seventies. Given a specification and a system under test, any testing activity is, explicitly or not, based on a satisfaction relation (often called conformance relation): does the system under test satisfy the specification? Tests are derived from the specification on the basis of the satisfaction relation, and often on the basis of some additional knowledge of the system under test and of its operational environment called testability hypothesis. The verdict about the success or not of a test execution depends on the observations that can be made on the system under test, and it is based on the satisfaction relation. This course presents a generic framework for developing testing methods based on formal specifications, and its specialization to several formalisms: Finite State Machine, Algebraic Specifications, Input-Output Transition Systems and Transition Systems with Priorities. After presenting some motivation and context, Section 2 illustrates the principles sketched above in the case of algebraic specifications, for which they were developed originally. Section 3 goes back in time and slightly reformulates the work on testing based on FSM in this new framework. Section 4 presents Input-Output labelled Transition systems (IOTS), the associated ioco conformance relation, defined originally in [318], and extended to JOTS with data types in [209]. Section 5 discusses problems that arise when introducing some notion of priority between inputs and outputs, extending IOTS models and the ioco conformance relation.
引用
收藏
页码:215 / 242
页数:28
相关论文
共 50 条
  • [1] Formal specification based software testing: An automated approach
    Gill, MS
    Bhatia, RK
    SERP'03: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2003, : 656 - 659
  • [2] PREDICTIVE SOFTWARE METRICS BASED ON A FORMAL SPECIFICATION
    SAMSON, WB
    NEVILL, DG
    DUGARD, PI
    INFORMATION AND SOFTWARE TECHNOLOGY, 1987, 29 (05) : 242 - 248
  • [3] Testing-Based Formal Verification for Theorems and Its Application in Software Specification Verification
    Liu, Shaoying
    TESTS AND PROOFS, TAP 2016, 2016, 9762 : 112 - 129
  • [4] A FRAMEWORK FOR INTEGRATING FORMAL SPECIFICATION, REVIEW, AND TESTING TO ENHANCE SOFTWARE RELIABILITY
    Liu, Shaoying
    Tamai, Tetsuo
    Nakajima, Shin
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2011, 21 (02) : 259 - 288
  • [5] Software Reliability Prediction Based on a Formal Requirements Specification
    Alipour, Hooshmand
    Isazadeh, Ayaz
    ADVANCES IN COMPUTER SCIENCE AND ENGINEERING, 2008, 6 : 816 - +
  • [6] Experiences with formal engineering: Model-based specification, implementation and testing of a software bus at Neopost
    Sijtema, M.
    Belinfante, A.
    Stoelinga, M. I. A.
    Marinelli, L.
    SCIENCE OF COMPUTER PROGRAMMING, 2014, 80 : 188 - 209
  • [7] Software Components Prioritization using OCL Formal Specification for Effective Testing
    Jalila, A.
    Mala, D. Jeya
    2013 INTERNATIONAL CONFERENCE ON RECENT TRENDS IN INFORMATION TECHNOLOGY (ICRTIT), 2013, : 714 - 720
  • [8] Software Reliability Assessment Based on a Formal Requirements Specification
    Alipour, Hooshmand
    Isazadeh, Ayaz
    2008 CONFERENCE ON HUMAN SYSTEM INTERACTIONS, VOLS 1 AND 2, 2008, : 311 - +
  • [9] A Framework for Formal Specification Considering Review and Specification-Based Testing
    Nakatsugawa, Yasumasa
    Kurita, Taro
    Araki, Keijiro
    TENCON 2010: 2010 IEEE REGION 10 CONFERENCE, 2010, : 2444 - 2448
  • [10] Formal specification to support advanced model based testing
    Frajtak, Karel
    Bures, Miroslav
    Jelinek, Ivan
    2012 FEDERATED CONFERENCE ON COMPUTER SCIENCE AND INFORMATION SYSTEMS (FEDCSIS), 2012, : 1311 - 1314