-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add the option of 'extreme mutation testing' with engine pit-descartes #219
Comments
Hi |
I hope this answers your question. Currently with this configuration in my pom.xml I can generate reports without so much computing cost <plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.7.0</version>
<configuration>
<mutationEngine>descartes</mutationEngine>
</configuration>
<dependencies>
<dependency>
<groupId>eu.stamp-project</groupId>
<artifactId>descartes</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</plugin>
´´´
Example: https://github.com/oscarlvp/pitest-extensible-engines
Source: https://github.com/STAMP-project/pitest-descartes/
Do you think the plugin reports can be optionally generated with the 'discards' engine? |
So it's an external project. I don't think that's feasible. At least, I can't work on that, since it sounds rather complicated |
ok, thank you so much. |
@LorenzoBettini Descartes is a plugin for PIT so I believe we could actually support it without too much trouble. Here is how I would do it:
A possible pain point would be PIT not detecting the Descartes engine. A possible workaround may be to subclass DescartesEngineFactory and to expose this subclass to PIT through a plug-in fragment. We already do this in the Also, if we plan to support other mutation engines in the future it may be interesting to design an extensible architecture so that we can add new mutation engines without having to update Pitclipse's internals each time. Maybe through a dedicated Eclipse extension in I might have some time to look into this in the incoming weeks. |
Ok, but first it's crucial to update to the new version of pit ;) |
I'm working on it 😄 |
Motivation
For to have a quick coverage option based on preliminary mutations
Proposed Solution
I'm sorry, but I don't know how :c
The text was updated successfully, but these errors were encountered: