Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] How to run PiTest mutation testing with Tycho?

Hello, 

i wan't to help enhance the quality of tests in our project using PiTest mutation testing (see www.pitest.org) for maven. I was able to start the pitest-coverage goal in our jenkins build job but i get this error from the pitest-mojo:

>org.pitest:pitest-maven:0.32:mutationCoverage failed: 
>No test library found on classpath. PIT requires either JUnit 4 (but can run JUnit 3 tests) or TestNG

Pitest doesn't find JUnit4 but the tests run by tycho-surefire succeed.  How can it make surefire and pitest work together?

Thanks
Chris

Back to the top