On theorem prover-based testing

被引:18
作者
Brucker, Achim D. [1 ]
Wolff, Burkhart [2 ]
机构
[1] SAP Res, D-76131 Karlsruhe, Germany
[2] Univ Paris 11, F-91405 Orsay, France
关键词
Test case generation; Domain partitioning; Test sequence; Theorem proving; HOL-TestGen; TEST-GENERATION; HOL; COVERAGE;
D O I
10.1007/s00165-012-0222-y
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
HOL-TestGen is a specification and test case generation environment extending the interactive theorem prover Isabelle/HOL. As such, Testgen allows for an integrated workflow supporting interactive theorem proving, test case generation, and test data generation. The HOL-TestGen method is two-staged: first, the original formula is partitioned into test cases by transformation into a normal form called test theorem. Second, the test cases are analyzed for ground instances (the test data) satisfying the constraints of the test cases. Particular emphasis is put on the control of explicit test-hypotheses which can be proven over concrete programs. Due to the generality of the underlying framework, our system can be used for black-box unit, sequence, reactive sequence and white-box test scenarios. Although based on particularly clean theoretical foundations, the system can be applied for substantial case-studies.
引用
收藏
页码:683 / 721
页数:39
相关论文
共 51 条
[1]  
Aehlig K, 2008, LECT NOTES COMPUT SC, V5170, P39, DOI 10.1007/978-3-540-71067-7_8
[2]  
Anand S, 2007, LECT NOTES COMPUT SC, V4424, P134
[3]  
Andrews P., 2002, An Introduction to Mathematical Logic and Type Theory: To Truth Through Proof
[4]  
[Anonymous], 0203 NAT I STAND TEC
[5]  
[Anonymous], 2011, P 16 ACM S ACC CONTR
[6]  
[Anonymous], 1940, Journal of Symbolic Logic
[7]  
Bentakouk L, 2009, LECT NOTES COMPUT SC, V5826, P16, DOI 10.1007/978-3-642-05031-2_2
[8]   Random testing in Isabelle/HOL [J].
Berghofer, S ;
Nipkow, T .
PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, 2004, :230-239
[9]   SOFTWARE TESTING BASED ON FORMAL SPECIFICATIONS - A THEORY AND A TOOL [J].
BERNOT, G ;
GAUDEL, MC ;
MARRE, B .
SOFTWARE ENGINEERING JOURNAL, 1991, 6 (06) :387-405
[10]  
Bjorner N, 2009, LECT NOTES COMPUT SC, V5505, P307, DOI 10.1007/978-3-642-00768-2_27