Skip to content
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

Compute a full mutation matrix #510

Closed
nrainer opened this issue Sep 3, 2018 · 5 comments
Closed

Compute a full mutation matrix #510

nrainer opened this issue Sep 3, 2018 · 5 comments

Comments

@nrainer
Copy link

nrainer commented Sep 3, 2018

No description provided.

nrainer pushed a commit to nrainer/pitest that referenced this issue Sep 3, 2018
nrainer pushed a commit to nrainer/pitest that referenced this issue Sep 3, 2018
@nrainer
Copy link
Author

nrainer commented Sep 3, 2018

See pull request #511

@nrainer
Copy link
Author

nrainer commented Sep 10, 2018

Can be closed. Has been solved with #511.

@nrainer nrainer closed this as completed Sep 10, 2018
@dormaayan
Copy link

@nrainer Thanks for implementing this feature!

Can you write here how to use that feature? Specifically, how to configure the pom.xml file to use it and what is the expected outcome

Many Thanks!

@nrainer
Copy link
Author

nrainer commented Feb 21, 2019

@dormaayan I thought it was documented somewhere on pitest.org, but I couldn't find it.
To use this feature, you need to configure:

<fullMutationMatrix>true</fullMutationMatrix>
<outputFormats>
 <param>XML</param>
</outputFormats>

Hence, the feature will only be working if XML output is used.
As a result, the XML entries will have nodes like

<killingTests>foo|foo2</killingTests>
<succeedingTests>bar</succeedingTests>

Hence, instead of the node <killingTest> the nodes <killingTests> and <succeedingTests> are used. Test cases are (currently) separated using |.
Note that the matrix will not be complete for entries with the result TIMED_OUT or MEMORY_ERROR.

@SaraTawfig
Copy link

SaraTawfig commented Jun 30, 2019

@nrainer
Note that the matrix will not be complete for entries with the result TIMED_OUT or MEMORY_ERROR.

I'm having this problem (the result TIMED_OUT ) , what's the solution plz?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants