7 Comments
User's avatar
Jonathan's avatar

Interesting approach and well documented, thanks for sharing!

A slight tweak on this is combinatory testing - rather than using random values, we could use combinatorial sets generated from ranges.

I blogged about it here: https://conwy.co/articles/combinatorial-testing/

The combinatorial approach might be better when we want to cover functions with idiosyncratic input ranges.

Daniel Moka's avatar

Love this! Thanks for sharing!

Chuck Staples's avatar

Interesting. I’d like using this approach for some tests. The struggle would be in identifying rules that can be generalized in this way.

Saurabh Dashora's avatar

Interesting approach Daniel.

Learned something new today!

Robiul Hossain's avatar

I will check it out, fast-check for me.

Tiger Abrodi's avatar

I for sure gotta check it out, amazing stuff!