计算机科学 > 程序设计语言
[提交于 2016年8月19日]
标题:CurryCheck: Checking Properties of Curry Programs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present CurryCheck, a tool to automate the testing of programs written in the functional logic programming language Curry. CurryCheck executes unit tests as well as property tests which are parameterized over one or more arguments. In the latter case, CurryCheck tests these properties by systematically enumerating test cases so that, for smaller finite domains, CurryCheck can actually prove properties. Unit tests and properties can be defined in a Curry module without being exported. Thus, they are also useful to document the intended semantics of the source code. Furthermore, CurryCheck also supports the automated checking of specifications and contracts occurring in source programs. Hence, CurryCheck is a useful tool that contributes to the property- and specification-based development of reliable and well tested declarative programs.
提交历史
来自:Michael Hanus[v1] 2016年8月19日 星期五 14:40:02 UTC