News for hackers. Stuff that matters.
Re:Show HN: PBT – A property-based testing library for Ruby by mberning on Wednesday May 22, 2024 @12:24PM (#40442792)
Very cool. Wonder how much time this adds to a test suite as you incorporate it more. Might need to have some different test targets to keep things fast.
Re:Show HN: PBT – A property-based testing library for Ruby by ohbarye on Thursday May 23, 2024 @01:36AM (#40450841)
Thank you.

In my opinion, PBT should be used in combination with example-based testing. Besides, since example-based testing cases account for the majority of tests, I think it's rare that PBT's execution time is dominant.

As for the combination and usages, refs: https://medium.com/criteo-engineering/introduction-to-proper...