pynguin icon indicating copy to clipboard operation
pynguin copied to clipboard

How to prevent pynguin from generating failed test cases

Open exKAZUu opened this issue 2 years ago • 1 comments

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.

exKAZUu avatar Jan 23 '23 10:01 exKAZUu

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.

stephanlukasczyk avatar Feb 15 '23 11:02 stephanlukasczyk