1
you are viewing a single comment's thread
view the rest of the comments
[-] zetroot@mastodon.ml 2 points 3 weeks ago

@AnthonyLloyd
I definitely should try it. I've been doing some property based testing with FsCheck from time to time for the past 5 years and i find it a thing from another world. Too much F# and academia;-) Not for "bloody enterprise", lol.

[-] AnthonyLloyd@programming.dev 1 points 3 weeks ago

It can be the very best tool sometimes. If you have a property to test, or if you have an oracle, or a brute force method. For example you want to refactor a complex method. Just take a copy of that method in the tests as the oracle and set up a Sample test so that they always agree and refactor away. You can also put a Faster test on it at the same time and prove it's 3x faster say. It's just more robust than a few examples.

this post was submitted on 22 Sep 2026
1 points (66.7% liked)

.NET

1884 readers
7 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 3 years ago
MODERATORS