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] Using genetic algorithms to aid test-data generation for data-flow coverage
    Ghiduk, Ahmed S.
    Harrold, Mary Jean
    Girgis, Moheb R.
    14TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2007, : 41 - +
  • [2] Test-data generation directed by program path coverage through imperialist competitive algorithm
    Saadatjoo, Mohammad Ali
    Babamir, Seyed Morteza
    SCIENCE OF COMPUTER PROGRAMMING, 2019, 184
  • [3] Automated test-data generation for exception conditions
    Tracey, N.
    Clark, J.
    Mander, K.
    McDermid, J.
    Software - Practice and Experience, 2000, 30 (01) : 61 - 79
  • [4] An automated framework for structural test-data generation
    Tracey, N
    Clark, J
    Mander, K
    McDermid, J
    13TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 1998, : 285 - 288
  • [5] Overview of the automated software test-data generation
    Gao Hai-chang
    Feng Bo-qin
    Hou Yun
    Proceedings of 2006 Chinese Control and Decision Conference, 2006, : 460 - 464
  • [6] Test-Data Generation for Xtext Tool Paper
    Haertel, Johannes
    Haertel, Lukas
    Laemmel, Ralf
    SOFTWARE LANGUAGE ENGINEERING, SLE 2014, 2014, 8706 : 342 - 351
  • [7] Automated test-data generation for exception conditions
    Tracey, N
    Clark, J
    Mander, K
    McDermid, J
    SOFTWARE-PRACTICE & EXPERIENCE, 2000, 30 (01): : 61 - 79
  • [8] Automatic test-data generation: An immunological approach
    Liaskos, Konstantinos
    Roper, Marc
    TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, : 77 - +
  • [9] Test-data generation using genetic algorithms
    Pargas, Roy P.
    Harrold, Mary Jean
    Peck, Robert R.
    Software Testing Verification and Reliability, 1999, 9 (04): : 263 - 282
  • [10] Test-Data Generation Guided by Static Defect Detection
    郝丹
    张路
    刘明浩
    李合
    孙家骕
    Journal of Computer Science & Technology, 2009, 24 (02) : 284 - 293