Test-data generation for control coverage by proof

被引:1
|
作者
Cavalcanti, Ana [1 ]
King, Steve [1 ]
O'Halloran, Colin [2 ]
Woodcock, Jim [1 ]
机构
[1] Univ York, Dept Comp Sci, York YO10 5DD, N Yorkshire, England
[2] Univ Oxford, Dept Comp Sci, Oxford, England
基金
英国工程与自然科学研究理事会;
关键词
Control coverage; Semantics; UTP; Invariants; FAULT CLASSES;
D O I
10.1007/s00165-013-0279-2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Many tools can check if a test set provides control coverage; they are, however, of little or no help when coverage is not achieved and the test set needs to be completed. In this paper, we describe how a formal characterisation of a coverage criterion can be used to generate test data; we present a procedure based on traditional programming techniques like normalisation, and weakest precondition calculation. It is a basis for automation using an algebraic theorem prover. In the worst situation, if automation fails to produce a specific test, we are left with a specification of the compliant test sets. Many approaches to model-based testing rely on formal models of a system under test. Our work, on the other hand, is not concerned with the use of abstract models for testing, but with coverage based on the text of programs.
引用
收藏
页码:795 / 823
页数:29
相关论文
共 50 条
  • [1] Web service test data generation using interface semantic contract
    Hou, K.-J. (hkj09@mails.tsinghua.edu.cn), 2020, Chinese Academy of Sciences (24):
  • [2] Proof-Relevant Logical Relations for Name Generation
    Benton, Nick
    Hofmann, Martin
    Nigam, Vivek
    TYPED LAMBDA CALCULI AND APPLICATIONS, TLCA 2013, 2013, 7941 : 48 - 60
  • [3] Applications of Interactive Proof to Data Flow Analysis and Security
    Klein, Gerwin
    Nipkow, Tobias
    SOFTWARE SYSTEMS SAFETY, 2014, 36 : 77 - 134
  • [4] Automated test generation and verified software
    Rushby, John
    VERIFIED SOFTWARE: THEORIES, TOOLS, EXPERIMENTS, 2008, 4171 : 161 - 172
  • [5] UML Associations Reducing the Gap in Test Coverage between Model and Code
    Eriksson, Anders
    Lindstrom, Birgitta
    PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD 2016), 2016, : 589 - 599
  • [6] Automatic Test Case Generation for Interacting Services
    Kaschner, Kathrin
    Lohmann, Niels
    SERVICE-ORIENTED COMPUTING - ICSOC 2008 WORKSHOPS, 2009, 5472 : 66 - 78
  • [7] SemFuzz: Semantics-based Automatic Generation of Proof-of-Concept Exploits
    You, Wei
    Zong, Peiyuan
    Chen, Kai
    Wang, XiaoFeng
    Liao, Xiaojing
    Bian, Pan
    Liang, Bin
    CCS'17: PROCEEDINGS OF THE 2017 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2017, : 2139 - 2154
  • [8] Connectors as designs: Modeling, refinement and test case generation
    Meng, Sun
    Arbab, Farhad
    Aichernig, Bernhard K.
    Astefanoaei, Lacramioara
    de Boer, Frank S.
    Rutten, Jan
    SCIENCE OF COMPUTER PROGRAMMING, 2012, 77 (7-8) : 799 - 822
  • [9] Test Case Generation for Boolean Expressions by Cell Covering
    Yu, Lian
    Tsai, Wei-Tek
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2018, 44 (01) : 70 - 99
  • [10] Semantic Sensing Performance Analysis: Assessing Keyword Coverage in Text Data
    Yang, Yaoqi
    Zhang, Bangning
    Guo, Daoxing
    Xu, Renhui
    Wang, Weizheng
    Xiong, Zehui
    Niyato, Dusit
    IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 2023, 72 (11) : 15133 - 15137