3 ms·
If I write faulty code, the generated test will make sure I keep the code faulty right?
by ecares 5y ago
If I write faulty code, the generated test will make sure I keep the code faulty right?
- dash2 5y agoYup, and their example shows it: https://pynguin.readthedocs.io/en/latest/user/quickstart.html#use-the-bundled-example 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".
- Redoubts 5y agoThat kinda sucks, since the function is type hinted...