evosuite-plus-plus icon indicating copy to clipboard operation
evosuite-plus-plus copied to clipboard

Debugging Evoobj worse methods - test case throws error and no branch covered

Open ongaaron96 opened this issue 4 years ago • 0 comments

Context

Evoobj did not cover this branch: image

Steps to Reproduce

  1. Run SF100LegitimizationTest.testLegitimizationBad5()
  2. Run SF100MultiSBSTAlgorithmTest.testDynaMOSA9()

EvoSuite Arguments

NA

Current Result

Initial test case generated: image

Error is thrown at line 70 in the target method due to invalid startUrl argument for the new URI() object, hence neither true or false branch at line 82 is covered.

Evoobj does not mutate test case due to NullPointerException when running testDynaMOSA9: image

Also, the graph image constructed is an empty graph.

Evosuite has consistent 1 coverage, sometimes 0.5.

Expected result

Graph image should not be empty and Evoobj should be able to mutate the initial test case.

Additional info

NA

ongaaron96 avatar Oct 26 '20 13:10 ongaaron96