pynguin
pynguin copied to clipboard
How to prevent pynguin from generating failed test cases
Related to #38
Though I understand test cases which raises exceptions are useful, I need also non-failing test cases.
Especially, we cannot get non-failing test cases if a failed test case achieves 100% coverage. And the case frequently occurs for simple code.
Is there any way to prevent pynguin from generating failed test cases?
I expect some options like --checked-exception=INVALID --unchecked-exception=INVALID of Randoop.
Sorry for the late reply. That's indeed a nice suggestion, which I put on the list for a future version of Pynguin. Unfortunately, I am quite busy with other stuff, so I cannot tell when I'll be able to do it.