Incremental test case generation using bounded model checking: an application to automatic rating

被引:4
作者
Anielak, Grzegorz [1 ]
Jakacki, Grzegorz [2 ]
Lasota, Slawomir [1 ]
机构
[1] Univ Warsaw, Warsaw, Poland
[2] Codility, London, England
关键词
Bounded model checking; Test case generation; Program equivalence checking; Automatic rating; SOFTWARE; CHECKERS;
D O I
10.1007/s10009-014-0317-2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper we focus on the task of rating solutions to a programming exercise. State-of-the-art rating methods generally examine each solution against an exhaustive set of test cases, typically designed manually. Hence an issue of completeness arises. We propose the application of bounded model checking to the automatic generation of test cases. The experimental evaluation we have performed reveals a substantial increase in accuracy of ratings at a cost of a moderate increase in computation resources needed. Most importantly, application of model checking leads to the finding of errors in solutions that would previously have been classified as correct.
引用
收藏
页码:339 / 349
页数:11
相关论文
共 18 条
  • [1] Using Bounded Model Checking for Coverage Analysis of Safety-Critical Software in an Industrial Setting
    Angeletti, Damiano
    Giunchiglia, Enrico
    Narizzano, Massimo
    Puddu, Alessandra
    Sabina, Salvatore
    [J]. JOURNAL OF AUTOMATED REASONING, 2010, 45 (04) : 397 - 414
  • [2] Anielak G., 2012, THESIS U WARSAW
  • [3] Ball T., 2004, Formal Methods for Components and Objects. Third International Symposium, FMCO 2004. Revised Lectures (Lecture Notes in Computer Science Vol. 3657), P1
  • [4] Biere Armin, 2003, ADV COMPUT, V58, P118, DOI DOI 10.1016/S0065-2458(03)58003-2
  • [5] Clarke E., 2003, Proceedings 2003. Design Automation Conference (IEEE Cat. No.03CH37451), P368
  • [6] A tool for checking ANSI-C programs
    Clarke, E
    Kroening, D
    Lerda, F
    [J]. TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2004, 2988 : 168 - 176
  • [7] Clarke EM, 1999, MODEL CHECKING, P1
  • [8] Model-based testing approaches selection for software projects
    Dias-Neto, Arilo Claudio
    Travassos, Guilherme Horta
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (11) : 1487 - 1504
  • [9] Dong-Ah Lee, 2011, Computer Safety, Reliability, and Security. Proceedings 30th International Conference, SAFECOMP 2011, P397, DOI 10.1007/978-3-642-24270-0_29
  • [10] An extensible SAT-solver
    Eén, N
    Sörensson, N
    [J]. THEORY AND APPLICATIONS OF SATISFIABILITY TESTING, 2004, 2919 : 502 - 518