hcoles / pitest

State of the art mutation testing system for the JVM
Apache License 2.0
1.67k stars 358 forks source link

killing test name is incorrect in mutations.xml #551

Open jeanpetric opened 5 years ago

jeanpetric commented 5 years ago

This is not entirely related to the issue #238.

When running mutation testing on basex (https://github.com/BaseXdb/basex), the produced XML file reports incorrect names for killingTest for most mutants, e.g.

<killingTest>org.basex.query.simple.TypeTest.org.basex.query.simple.TypeTest</killingTest>

For some reason the package and class names get repeated twice (missing the method name). The expected behaviour would be:

<killingTest>org.basex.query.simple.TypeTest.testMethod</killingTest>

rnveach commented 5 years ago

I have also seen this issue on my own project when just looking at the raw xml file running it through the command line.