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
@Test(timeout = 4000)
public void test02() throws Throwable
{
Object object0 = new Object();
String string0 = XMLUtils.escape(object0);
assertNotNull(string0);
}
However the existing test suite is already covering at 100% the XMLUtils.escape() method.
I was told that the fitness function makes sure that the coverage is increased. It's not the case here.
I suspect the issue might be that the model seeding didn't do the dynamic analysis part (since the tests are in JUnit5) and thus no existing coverage was captured?
In any case it would be great to not generate tests that don't increase coverage! :)
WDYT?
Thanks
The text was updated successfully, but these errors were encountered:
vmassol
changed the title
Model-seeding generated test doesn't not increase coverage
Model-seeding generated test doesn't increase coverage
Oct 10, 2019
The following test was generated:
However the existing test suite is already covering at 100% the XMLUtils.escape() method.
I was told that the fitness function makes sure that the coverage is increased. It's not the case here.
I suspect the issue might be that the model seeding didn't do the dynamic analysis part (since the tests are in JUnit5) and thus no existing coverage was captured?
In any case it would be great to not generate tests that don't increase coverage! :)
WDYT?
Thanks
The text was updated successfully, but these errors were encountered: