testing

Testing tools, testing philosophy & methodology...
2016-08-03T12:48:25.000031Z

I'm curious what people think about the differences/benefits/relationships between: - Generative Property Based Testing - Pairwise Testing In particular is anyone combining the two... It seems to me that you could/should use generative tests to provide instance data within certain equivalence classes of values and then use pairwise testing to generate arguments as test pairs to apply to the function under test.

2016-08-03T12:50:11.000032Z

hmm... might repost the above to #C1B1BB2Q3

donaldball 2016-08-03T20:18:24.000033Z

When using test.check, what’s a good way to choose n distinct elements from a set (where the size of the set is guaranteed to exceed n)

donaldball 2016-08-03T20:38:08.000034Z

Best I’ve been able to figure it to gen/shuffle and take n in an fmap or the like, but it can be slow when the coll is large