Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If I write faulty code, the generated test will make sure I keep the code faulty right?


Yup, and their example shows it: https://pynguin.readthedocs.io/en/latest/user/quickstart.htm...

The example is a function which reports the kind of triangle. The generated tests include one that tests that a triangle with sides 12, 12 and... er... None is "isosceles".


That kinda sucks, since the function is type hinted...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: