News for hackers. Stuff that matters.
Re:Property-based testing in practice [pdf] by eru on Tuesday April 02, 2024 @11:16PM (#39913275)
> Small unit tests have not empirically been shown to have benefits over integration tests, [...]

Do you have any links to these studies?

> * property tests: since these are semi-automatic they scale better but are a bit more complicated to setup.

Once you are in the groove, I find property based tests to be simpler (or not harder) than example based tests. But that's when I am writing tests as I am developing the system, ie I take testability into account in the design.

There are no comments on this comment yet.