HI Team,
Can any one help for this problem? I am struggling a lot for mutation coverage. The issue is :
> org.pitest.mutationtest.engine.gregor.mutators.NegateConditionalsMutator
>> Generated 69 Killed 67 (97%)
> KILLED 67 SURVIVED 2 TIMED_OUT 0 NON_VIABLE 0
> MEMORY_ERROR 0 NOT_STARTED 0 STARTED 0 RUN_ERROR 0
> NO_COVERAGE 0
Coding snippet
String test;
result = test != null ? test : "" ;
I tried to write Junit Test case by giving test value as null , "" , "value".
assertTrue(result.equals(""))
assertTrue(result.equals(null))
assertTrue(result.equals("value")).
But no improvement and 2 mutants survived.
Thanks in advance