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 条
  • [21] On Testing Techniques for Specification-based Software Structure
    Zhong, Li
    2009 INTERNATIONAL FORUM ON INFORMATION TECHNOLOGY AND APPLICATIONS, VOL 2, PROCEEDINGS, 2009, : 22 - 25
  • [22] Specification-Based Testing in Software Engineering Courses
    Fisher, Gene
    Johnson, Corrigan
    SIGCSE'18: PROCEEDINGS OF THE 49TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2018, : 800 - 805
  • [23] Specification-based Testing for Software Product Lines
    Kahsai, Temesghen
    Roggenbach, Markus
    Schlingloff, Bernd-Holger
    SEFM 2008: SIXTH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, PROCEEDINGS, 2008, : 149 - +
  • [24] Integrating semi-formal and formal software specification techniques
    Wieringa, R
    Dubois, E
    INFORMATION SYSTEMS, 1998, 23 (3-4) : 159 - 178
  • [25] FORMAL SPECIFICATION AND DESIGN TIME TESTING
    GERRARD, CP
    COLEMAN, D
    GALLIMORE, RM
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (01) : 1 - 12
  • [26] Formal specification and testing of a management architecture
    Fernandes, GPA
    Derrick, J
    INTEGRATED NETWORK MANAGEMENT V: INTEGRATED MANAGEMENT IN A VIRTUAL WORLD, 1997, : 473 - 484
  • [27] Formal Specification and Testing for Reinforcement Learning
    Varshosaz, Mahsa
    Ghaffari, Mohsen
    Johnsen, Einar Broch
    Wasowski, Andrzej
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (ICFP): : 125 - 158
  • [28] Formal specification of software product lines: A graph transformation based approach
    Khalfaoui, Khaled
    Chaoui, Allaoua
    Foudil, Cherif
    Kerkouch, Elhillali
    Journal of Software, 2012, 7 (11) : 2518 - 2532
  • [29] An Evolutionary Method for the Formal Specification Construction of Service-Based Software
    Miao, Weikai
    Wang, Xi
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2016, 26 (04) : 587 - 610
  • [30] Formal specification languages in knowledge and software engineering
    Fensel, D
    KNOWLEDGE ENGINEERING REVIEW, 1995, 10 (04): : 361 - 404