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

mutationCoverage failed: Could not load requested engine descartes #25

Closed
jesus-gorronogoitia opened this issue Oct 10, 2017 · 3 comments

Comments

@jesus-gorronogoitia
Copy link

Issue Type: possible bug/misuse
Description: I've followed the Descartes for dummies tutorial authored by Nicola Bertazzo. However, I get a

Failed to execute goal org.pitest:pitest-maven:1.2.0:mutationCoverage (default-cli) on project hello_app: Execution default-cli of goal org.pitest:pitest-maven:1.2.0:mutationCoverage failed: Could not load requested engine

after launching Descartes with: mvn test org.pitest:pitest-maven:mutationCoverage in dhell project.
Reproducibility: always
Severity: major
Tool: Descartes PITest, version 19/10/17
Execution Environment: Linux OpenSuse Tumbleweed, Maven version: 3.3.9, Java version: 1.8.0_102, vendor: Oracle Corporation
Steps to reproduce: following Descartes for dummies, I've cloned Descartes from the GitHub repository and installed it using mvn install. I confirm Descartes plugin is installed in my Maven local repository. Then, I've cloned dhell from the repository and build it with mvn clean package. Next, in dhell folder, I've replaced the pom.xml file with pom.xml.for_descartes. Finally, I've executed mvn test org.pitest:pitest-maven:mutationCoverage
Files: See attached the Maven output:
descartes_dhell_dummies_test.txt

Reporter: Yosu Gorroñogoitia jesus.gorronogoitia@atos.net

@nicolabertazzo
Copy link
Contributor

I Have the same issue.
I suggest to create a git tag with a fixed version and use these version for the for dummies tutorial.

@oscarlvp
Copy link
Member

The issues come from the two pom.xml files as they are misconfigured.
First, in dhell-pom.xml the class and test targets were wrong.
In pom.xml.for_descartes, the dependency is not in the right place.
I've made the changes and now they can be used properly.

@jesus-gorronogoitia
Copy link
Author

Still not working when using dhell-pom.xml, obtaining same issue reported in #25
It works now using pom.xml.for_descartes

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