Testing IO actions with Monadic QuickCheck

后端 未结 2 648
暗喜
暗喜 2020-12-23 01:57

Can anyone give me a brief example of testing IO actions using Monadic QuickCheck?

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-23 02:43

    The standard reference for testing monadic code is "Testing Monadic Code with QuickCheck". It shows various ways of testing in the context of a monad such as IO.

    But you should really consider posting a more concrete question about what it is that you would like to test.

提交回复
热议问题