lens icon indicating copy to clipboard operation
lens copied to clipboard

Quickcheck?

Open jackfirth opened this issue 10 years ago • 0 comments

Would it be worthwhile to use quickcheck to make lens law property checks? This has the advantage of making it much easier to find corner cases that break the lens laws (such as #168), but it requires more tests be written, the CI be configured to support it (it should crank up the number of checked cases to absurd levels), and that the target and view of a lens be formally specified. Additionally quickcheck is experiencing some API instability and doesn't play as nicely with RackUnit and CI as I'd like.

jackfirth avatar Aug 24 '15 20:08 jackfirth