How to get Haskell QuickCheck 2.4 to increase # tests?

前端 未结 2 1906
庸人自扰
庸人自扰 2020-12-30 22:49

Okay, as I learned via my previous question, the RWH book is already out of date for QuickCheck. And despite all the posts I\'ve read that tell me how incredibly simple it i

2条回答
  •  Happy的楠姐
    2020-12-30 23:05

    For those who want to run all tests at once and provide their configuration:

    return []
    main = $forAllProperties (quickCheckWithResult stdArgs { maxSuccess = 500 })
    

提交回复
热议问题