QuickSpec: Guessing Formal Specifications Using Testing
QuickSpec: Guessing Formal Specifications Using Testing
复制标题
QuickSpec:使用测试猜测正式规格
DOI:
10.1007/978-3-642-13977-2_3
复制
发表时间:
2010
期刊:
影响因子:
--
通讯作者:
John Hughes
中科院分区:
文献类型:
--
作者:
Koen Claessen;Nicholas Smallbone;John Hughes
We present QUICKSPEC, a tool that automatically generates algebraic specifications for sets of pure functions. The tool is based on testing, rather than static analysis or theorem proving. The main challenge QUICKSPEC faces is to keep the number of generated equations to a minimum while maintaining completeness. We demonstrate how QUICKSPEC can improve one's understanding of a program module by exploring the laws that are generated using two case studies: a heap library for Haskell and a fixed-point arithmetic library for Erlang.