4 ms·
QuickCheck happens to use types (ie static information). But Python's hypothesis shows that QuickCheck works just as well with dynamic languages: https://hypot
by eru 10y ago
QuickCheck happens to use types (ie static information). But Python's hypothesis shows that QuickCheck works just as well with dynamic languages: https://hypothesis.readthedocs.io/en/latest/ https://hypothesis.readthedocs.io/en/latest/
- cakoose 10y agoYeah, in this case, Hypothesis uses programmer-provided input specs, which are similar but not quite the same as type declarations in a typed programming language. I'd still consider this to be essentially "static" information, since they don't change as the program executes.
- eru 10y agoPerhaps. Though 'shrinking' definitely makes use of dynamic information.