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.

Expand full comment
Daniel Moka's avatar

Love this! Thanks for sharing!

Expand full comment
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.

Expand full comment
Saurabh Dashora's avatar

Interesting approach Daniel.

Learned something new today!

Expand full comment
Robiul Hossain's avatar

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

Expand full comment
Neo Kim's avatar

good one, Daniel

Expand full comment
Tiger Abrodi's avatar

I for sure gotta check it out, amazing stuff!

Expand full comment