-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use another PIT output format to provide more information #616
Comments
Hi, I suggest @andrewbwogi takes care of this issue. @andrewbwogi I propose you a list of small tasks:
If you have any question or trouble, I propose you to continue on this thread, in order to clarify the asked task and you should done them. Last but not least, propose your changes throught a pull request. Thank you! |
Hi @andrewbwogi any news on this? |
Hi @danglotb, I'm currently studying the code. Is it correct that it's the report generation which saves .json and .txt files in the output directory that needs a new class? |
Hi @andrewbwogi I am sorry, I might have confused you. The first task should be done out of DSpot, on the command line by using the maven plugin of PIT. For instance, you will run on the test-projects (src/test/resources/test-projects) the following command line:
the What we ask for the first step, is to run PIT and obtain a JSON or a XML file report. To do this, you should have a look to the documentation of PIT. and play with several command line options. |
I've completed the first and the second task. I've modified the PitMutantScoreSelector to use an abstract Pit result so switching between using CSV and XML files will be easier. Now I'll look at how DSpot can use an XML output file from Pit as default. |
Hi @andrewbwogi Thank you! Do not hesitate to open a pull request. That will allow us to discuss the changes. Best. |
Characteristics
Description
Currently DSpot relies on the
CSV
report output produced by PIT. However this report is limited in information. It would be better to use theXML
report, provided by default, or theJSON
report provided by Descartes. These two formats include for each mutant the package, class, method name, method signature and line in which the mutant was created. This information could be also included in the report generated by DSpot.The text was updated successfully, but these errors were encountered: