News for hackers. Stuff that matters.
Re:Hypothesis: Property-Based Testing for Python by groundhogstate on Wednesday November 05, 2025 @04:26AM (#45821053)
You might find schemathesis useful for API testing (which IIRC is built on Hypothesis). Certainly helped me find a stack of unhandled edge cases.

YMMV, but once I first set up Schemathesis on one of my MVPs, it took several hours to iron out the kinks. But thereafter, if built into CI, I've found it guards against regression quite effectively.

Re:Hypothesis: Property-Based Testing for Python by IanCal on Wednesday November 05, 2025 @04:38AM (#45821148)
https://schemathesis.readthedocs.io/en/stable/

This looks really good. I like using hypothesis for APIs so this is a really nice layer on top, thanks for pointing this one out.

Re:Hypothesis: Property-Based Testing for Python by agumonkey on Wednesday November 05, 2025 @10:17AM (#45823744)
pretty nice tool, helped us poke into our app in ways we didn't foresee

also pretty happy to see the reports of thousands or api calls that matched the expected responses, that increases the confidence you have in your system

Re:Hypothesis: Property-Based Testing for Python by dmitry_dygalo on Saturday November 08, 2025 @04:52PM (#45860390)
Hi! Author of Schemathesis here, really glad to hear it helped you uncover those edge cases. If any of those bugs were in public or open-source APIs, I’d love to feature them in our new “trophy case”: https://github.com/schemathesis/schemathesis/issues/new?temp...