logoalt Hacker News

troupoyesterday at 9:09 PM1 replyview on HN

It doesn't help that many texts approach this as a very pseudo-mathematics abstract. It's not a function, it's an implication. It's there are satisfactions of preconditions, there's a thousand different things.

Unfortunately, very few texts and tutorials on property-based testing actually tell you how to see what properties are. I have it on paper somewhere in some workshop materials. But online I think this is one of the very few that describe what they are: https://fsharpforfunandprofit.com/posts/property-based-testi...


Replies

skybrianyesterday at 10:50 PM

Good link. I think that explanation works because it's somewhat closer to providing concrete examples of the kinds of tests you can write.

show 1 reply