Generating Random Well-Typed Featherweight Java Programs Using QuickCheck
Generating Random Well-Typed Featherweight Java Programs Using QuickCheck
复制标题
使用 QuickCheck 生成随机类型良好的轻量级 Java 程序
DOI:
10.1016/j.entcs.2019.04.002
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
A. R. D. Bois
中科院分区:
文献类型:
--
作者:
Samuel da Silva Feitosa;R. Ribeiro;A. R. D. Bois
Currently, Java is one of the most used programming language, being adopted in many large projects, where applications reach a level of complexity for which manual testing and human inspection are not enough to guarantee quality in software development. Even when using automated unit tests, such tests rarely cover all interesting cases of code, which means that a bug could never be discovered, once the code is tested against the same set of rules over and over again. This paper addresses the problem of generating random well-typed programs in the context of Featherweight Java, a well-known object-oriented calculus, using QuickCheck, a Haskell library for property-based testing.