You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to generate various test inputs, but pynguin seems to stop when coverage is 100%.
(I plan to use pynguin to generate robust test cases from the code of the model answer in order to evaluate code submitted by various users.)
StoppingConfiguration provides maximum options, but there are no minimum (at least) options.
Is there a way to keep pynguin continue?
The text was updated successfully, but these errors were encountered:
exKAZUu
changed the title
How to make pynguin continue even if coverage reached 100%
How to make pynguin continue even when coverage reach to 100%
Jan 23, 2023
Actually, there currently is no easy way of achieving this, except directly modifying the code of Pynguin's test-generation algorithms. I've just checked and each algorithm has a hard-coded early exit of the generation loop, as soon as 100% coverage is reached (e.g.
If you change the source code of Pynguin and remove the respective check (the second predicate in the and conjunction, just leaving the condition to the while loop calling self.resources_left()), this should be doable. Maybe, at this point, I should add a note to my list of future features for Pynguin that this might be a good one.
I want to generate various test inputs, but
pynguin
seems to stop when coverage is 100%.(I plan to use
pynguin
to generate robust test cases from the code of the model answer in order to evaluate code submitted by various users.)StoppingConfiguration
provides maximum options, but there are no minimum (at least) options.Is there a way to keep
pynguin
continue?The text was updated successfully, but these errors were encountered: