pitclipse | Mutation testing for Java in Eclipse IDE | Testing library
kandi X-RAY | pitclipse Summary
kandi X-RAY | pitclipse Summary
Faults (or mutations) are automatically seeded into your code, then your tests are run. If your tests fail then the mutation is killed, if your tests pass then the mutation lived. The quality of your tests can be gauged from the percentage of mutations killed. Henry Coles, pitest.org.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pitclipse
pitclipse Key Features
pitclipse Examples and Code Snippets
Community Discussions
Trending Discussions on pitclipse
QUESTION
I recently installed pitclipse plugin to test my unit tests in eclipse. Now I face the problem that pitclipse did not get any update since pitest 1.1.9 and I really want to use the latest version (currently 1.4.9).
I have tried several things:
First I was updating the pom.properties
and pom.xml
in eclipse\features\org.pitest.pitclipse.feature_1.1.6.201607050705\META-INF\maven\org.pitest\org.pitest.pitclipse.feature
folder.
This did not change anything.
Next i tried to update the jars org.pitest.osgi_1.1.9.jar, org.pitest.html-report-osgi_1.1.9.jar, org.pitest.command-line-osgi_1.1.9.jar
in eclipse/plugins
folder.
To do so I downloaded the latest versions of those jars (except the osgi
one, since mvnrepositiory does not have this. I replaced with normal pitest
jar), replaced these files and renamed the new files to match the old file names.
This broke pitclipse, so I removed these changes again.
Did anyone face the same problem and got a work arround? I would appreciate any suggestions.
...ANSWER
Answered 2019-Oct-11 at 22:46Pitclipse is actively maintained again so I invite you to install its latest version to benefit from a newer Pitest version. Pitclipse 2.0.0 embeds Pitest 1.4.6, watch PR #88 to know when Pitest 1.4.10 is supported.
To answer your question, as far I know there is currently now way to manually update the version of Pitest used by Pitclipse.
Disclaimer: I am the new maintainer of Pitclipse
QUESTION
I was using PITclipse on Eclipse to run PIT mutation tests on code. I noticed in the PIT documentation where it stated that the some of the mutators are not activated by default. Even in PITclipse these mutators do not seem to be used. I wanted to know if there was any way to activate and use the non default mutators and run the same against the code to get complete fault coverage?
URL for reference: http://pitest.org/quickstart/mutators/
...ANSWER
Answered 2017-May-12 at 23:40In Eclipse, go to Window > Preferences.
Under "Pitest" you have options for "Default Mutators," "Stronger Mutators," and "All Mutators."
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pitclipse
Open Eclipse IDE
Go to Help > Install New Software...
Copy the update site’s URL in the Work with textbox (ATTENTION: the update site has changed on 5 May 2021, make sure you remove the previous one hosted on bintray): https://pitest.github.io/pitclipse-releases/
Hit Enter and wait for the list to load
Check everything
Click Next then Finish
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page