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 条
  • [11] Issues in using model checkers for test case generation
    Fraser, Gordon
    Wotawa, Franz
    Ammann, Paul
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (09) : 1403 - 1418
  • [12] Testing with model checkers: a survey
    Fraser, Gordon
    Wotawa, Franz
    Ammann, Paul E.
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2009, 19 (03) : 215 - 261
  • [13] Using Formal Specifications to Support Testing
    Hierons, Robert M.
    Bogdanov, Kirill
    Bowen, Jonathan P.
    Cleaveland, Rance
    Derrick, John
    Dick, Jeremy
    Gheorghe, Marian
    Harman, Mark
    Kapoor, Kalpesh
    Krause, Paul
    Luettgen, Gerald
    Simons, Anthony J. H.
    Vilkomir, Sergiy
    Woodward, Martin R.
    Zedan, Hussein
    [J]. ACM COMPUTING SURVEYS, 2009, 41 (02)
  • [14] Holzer A, 2009, LECT NOTES COMPUT SC, V5403, P151, DOI 10.1007/978-3-540-93900-9_15
  • [15] Kim M., 2008, ASE 2008
  • [16] A Comparative Study of Software Model Checkers as Unit Testing Tools: An Industrial Case Study
    Kim, Moonzoo
    Kim, Yunho
    Kim, Hotae
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2011, 37 (02) : 146 - 160
  • [17] The automatic assessment of formal specification coursework
    Shukur Z.
    Burke E.
    Foxley E.
    [J]. Journal of Computing in Higher Education, 1999, 11 (1) : 86 - 119
  • [18] Utting M., 2007, PRACTICAL MODEL BASE