logo
首页技术栈工具库讨论
quickcheck-with-counterexamples

quickcheck-with-counterexamples

When QuickCheck finds a counterexample, it prints it out but doesn't save it so that the programmer can access it. This can be annoying when debugging. This library provides a small extension to QuickCheck that returns counterexamples as normal Haskell values. To use it, just import Test.QuickCheck.Counterexamples instead of Test.QuickCheck. The library is largely compatible with normal QuickCheck, but the return types of Test.QuickCheck.Counterexamples.quickCheck and related functions are changed to include a counterexample. For usage information, see the Test.QuickCheck.Counterexamples module.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
标签
根据用户添加的标签生成
暂无标签