Hacker News new | past | comments | ask | show | jobs | submit login

I really like property based tests. They feel like they're everything that unit tests without them were supposed to be.

* More closely encodes the behavior you want the code to have

* More likely to find weird edge cases where some input does something unexpected

* Less work to get greater coverage




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: