Re:Show HN: Python Tests That Write Themselves
by ebg13 on Wednesday September 18, 2019 @02:12PM
(#21008249)
> By default, the biggest value from this is catching unexpected runtime exceptions with certain values (the edge cases you don't think of yourself).
So it's a fuzzer?
Re:Show HN: Python Tests That Write Themselves
by timothycrosley on Wednesday September 18, 2019 @02:15PM
(#21008292)
Yes! A smart one though, that limits itself to the type constraints you've specified to avoid redoing the work of your type checker.
Simple example: