3 ms·
FWIW, in Python, from https://news.ycombinator.com/item?id=38579378 https://news.ycombinator.com/item?id=38579378 : > Hypothesis generates tests from type anno
by westurner 3y ago
FWIW, in Python, from https://news.ycombinator.com/item?id=38579378 https://news.ycombinator.com/item?id=38579378 :
> Hypothesis generates tests from type annotations; and icontract and pycontracts do runtime type checking.
Pynguin also generates tests; but it does not use icontract-style type and value constraints as decorator preconditions in generating tests.
icontract-hypothesis:
https://github.com/mristin/icontract-hypothesis https://github.com/mristin/icontract-hypothesis
https://news.ycombinator.com/item?id=38138319 https://news.ycombinator.com/item?id=38138319